lua-users home
lua-l archive

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




Am 29.06.22 um 10:03 schrieb Oliver:


On 29.06.22 09:55, Marc H. Balmer wrote:
     https://github.com/osch/lua-mtstates
There is also mqLua, https://github.com/arcapos/mqlua
It does basically the same, but include ZeroMQ for message passing between Lua
states.

As far as I understand, mqLua ties the state to a thread whereas mtstates allows
the state to be called from any thread. Or am I misunderstanding something?

No, you do not. It isolates the state, communication is done using 0MQ (i.e. there is no locking atm).