when the app begins to load. i hv a big xml file to load and parse. so i want to do it in worker thread. but all the cocos2d-x UI must be used in main thread. it seems the producer/consumer should be used in order to push task in the main thread.
is there any other solution or suggestion? thanks!