lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

If you want to use multi-threading in your Lua apps you should also consider
having separate (Lua) states for your helper threads. This works really well
if the code you want to run in your helper is a well-defined subsystem (with
few dependencies to your main state, I mean). The only thing you need to
take care of in this scenario is transferring data - like the mentioned
Internet search results - from one state to another.