lua-users home
lua-l archive

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

> On Apr 13, 2018, at 12:08 PM, 云风 <> wrote:
> CRT is thread-safe, but using a C static variable isn’t.

Do you mean C rand() does not use static variable ?

> When we run multi-states in multi-thread, calling math.rand() at the same time, the random sequence may rewind .

What is "may rewind" ?