lua-users home
lua-l archive

Re: Which Lua API calls are safe for different Lua States in different threads?

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


	Hi Graham
> I only have two threads, but they do need to share lua values so one 
> is necessarily the child of the other.
	Take a look at Rings (http://www.keplerproject.org/rings).
It enables a Lua program to create other Lua States and communicate
with them. This communication is restricted: only numbers, strings
and booleans are permitted. Anyway, I think it is very robust.
	Regards,
		Tomas

AltStyle によって変換されたページ (->オリジナル) /