[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: thread safety.
- From: George Neill <georgen@...>
- Date: Thu, 11 Jun 2009 19:11:55 -0500
Hi All,
Thanks for awesome Lua language, this is my first post to the mailing list!
I did a quick double check for some known non-reentrant functions and
I found a handful of potential MT issues in loslib.c
os_execute calls system() not MT safe.
os_date calls either gmtime() or localtime() both are not MT safe.
... possibly others?
I'd like to fix those which can be fixed and provide a patch, would it
be preferable to enable a macro named something like
LUA_USE_REENTRANT?
TIA,
George