lua-users home
lua-l archive

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

On Thu, May 24, 2012 at 7:27 AM, Roberto Ierusalimschy
<> wrote:

> Yes :-(  (Well, for this particular case Lua 5.2 uses gmtime_r when
> possible. But some other C functions still have problems.)

setlocale, rand and srand come to mind.

So os.setlocale, math.random and math.randomseed should be avoided
after starting threads.