lua-users home
lua-l archive

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



On Fri, Nov 25, 2011 at 12:03 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
Lua 5.2.0 (rc2) is now available at
       http://www.lua.org/work/lua-5.2.0-rc2.tar.gz

MD5     69b2277cf0d7bcd954e598432c278be4  -
SHA1    bd61599d1f22c6bfd2ac214c1af34ef882e7d3e2  -

The main changes in Lua 5.2 are listed in
       http://www.lua.org/work/doc/#changes


I just have been bitten by the fact os.date uses gmtime and localtime, which aren't threadsafe. Since its threadsafe counterparts (gmtime_r and localtime_r) can't be used, at least a note on the documentation could be provided? Both for Lua 5.1.4 and Lua 5.2

http://www.lua.org/work/doc/manual.html#pdf-os.date

 Thank you.

Regards,
Ignacio