Hi all,
I recently stumbled upon this bug. Here’s what i did.
- Created 2 apps having same set textures. I used async texture loading to load the textures. (May be having same set of textures wont matter since the problem is with writing to Texture cache)
- I launched the first app and waited for the textures to load once the load was complete, i switched to Home Screen.
- Next i launched the second app which just stops at the loading screen.
When i traced this, i found that cocos2d-x uses a named semaphore called “ccasync”. Since it is same for both the apps it causes the second app to indefinitely wait. Please look into this,
PS: I was using cocos2d-2.1beta3-x-2.1.0, so i am not sure whether this was resolved in the latest build but i’ll mention it anyway just in case.
regards,
Raghu S