On 20/02/14 09:28, David Laight wrote: >> > As expected, my Lua extensions actually work if I load them with my >> > own custom build of Lua linked against libpthread. >> > >> > Furthermore, Lua from pkgsrc isn't linked against libpthread either. >> >> Is Lua threaded? I was under the impression that it isn't. > > Or rather, is Lua thread safe? The library functions are reentrant (everything lives in lua_State contexts), but a single lua_State can't be used simultaneously among multiple threads. /Jan
Attachment:
signature.asc
Description: OpenPGP digital signature