Moving multithreading implementation within defold

I’m saying you probably have to?

Lua states aren’t thread safe, so to use the same context, you’d have to synchronize all threads, effectively making it single threaded.

So, to do any meaningful multithreading, you’d have to use different Lua states, and you have to figure out some communication between them.

1 Like