07-01-2015, 06:33 AM
@SBPrime Its a little more complicated than that, mostly because of the Lua interpreter. http://lua-users.org/wiki/ThreadsTutorial details the issues with having multiple threads for lua. At the moment we use separate lua states for each plugin, so each lua state is restricted to being accessed from one thread at a time. How we handle more than one is the difficulty.