Search code examples
multithreadinglualuajit

Lua multithreading module


I'm looking for multithreading support for Lua/LuaJit. I found http://lua-users.org/wiki/MultiTasking a lot of varians of modules, but I can't find up-to-date module. Can somebody provide me the most useful Lua-threading? It is hardly difficult to find and choose.


Solution

  • I'd use cqueues.thread. It doesn't come with as much automatic serialisation/deserialisation as other solutions. But IMO it's a simpler model. Doesn't work on windows though.