lua-users home
lua-l archive

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

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