Cocos2dx Lua hot update multithreading mechanism

Multi-threading is actually implemented in cocos2dx. I started to think about how there is multi-threading in Lua? In fact, the send method of the C++ version of XMLHttpRequest will open a new thread every time it is called. Therefore, multiple calls are equivalent to multiple threads.

Multi-threading is actually implemented in cocos2dx. I started to think about how there is multi-threading in Lua. ? In fact, the send method of the C++ version of XMLHttpRequest will open a new thread every time it is called. Therefore, multiple calls are equivalent to multiple threads.

Leave a Comment

Your email address will not be published.