I have a problem when porting game to windows phone 8. In project win32 I use pthread.h but it not working in windows phone 8.
And I find in CCTextureCache of core cocos2d-x, all variable and funtion related to pthread has been put in comment.
eg: in CCTextureCache.cpp
//static pthread_mutex_t s_asyncStructQueueMutex;
//static pthread_mutex_t s_ImageInfoMutex;
Hi @lordubik, there is a pr about httpclient, libcurl, libwebsocket: https://github.com/cocos2d/cocos2d-x/pull/5098, I added some fix to let it auto-merged and will merged soon. And httpclient works well. Thanks.
I looked the HTTPClient changes and I have applied the changes… but pthread_create is a empty function: