Projects > cpp > Issues > Feature #465

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

CCAsyncObject & CCTextureCache::addImageWithAsyncObject, addImageAsync

Feature #465 [Closed]
walzer@cocos2d-x.org 2011-04-21 06:17 . Updated over 12 years ago

We haven’t implement this feature yet, which is implement in cocos2d-iphone since 0.8.x
It based on NSThread, so we should wrap CCThread, CCEvent CCTimer before.

walzer@cocos2d-x.org 2011-04-21 06:37

A opinion is that, use pthread library. It’s ready on both Android & iOS.
On win32, I think we can easily find an implementation. And on wophone, we can integrate the header and lib binary in cocos2d-x.
Should we use this approach?

walzer@cocos2d-x.org 2011-04-21 06:39

http://sources.redhat.com/pthreads-win32/
This job has been done by redhat :)

walzer@cocos2d-x.org 2011-07-13 19:10
  • Target version changed from 9 to cocos2d-1.0.1-x-0.9.2
zhangxm 2011-08-28 23:09
  • Target version changed from cocos2d-1.0.1-x-0.9.2 to 9

This issue can be resolved after the ptread is wrapped and auto release pool is thread-safed.

walzer@cocos2d-x.org 2011-10-20 06:31
  • Target version changed from 9 to cocos2d-1.0.1-x-0.10.0
zhangxm 2011-11-24 01:03
  • Status changed from New to Resolved
  • Assignee set to zhangxm

Done in #854.
Don’t need CCAsyncObject and CCTextureCache::addImageWithAsyncObject.

walzer@cocos2d-x.org 2011-11-27 06:56
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2011-11-27 06:57

So how about the performance of 2 designs, which we argued in the last week?

walzer@cocos2d-x.org 2012-05-25 08:17
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.1-x-0.10.0)

Atom PDF

Status:Closed
Start date:2011-04-21
Priority:Normal
Due date:
Assignee:zhangxm
% Done:

0%

Category:-
Target version:-