[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Are lua_State's thread safe?
- From: "Adam D. Moss" <adam@...>
- Date: Wed, 14 Dec 2005 20:49:34 +0000
John Klimek wrote:
Would I be better of creating a brand new lua_State for every single
script as it's running that way each thread/user/script can run
simultaneously with the other scripts?
Definitely, if you can get away with. That will be thread-safe
(well, as thread-safe as the exposed APIs).
Adam D. Moss - email@example.com