lua-users home
lua-l archive

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

> So, will this issue will be considered as a bug or not? (will it be listed
> in ?)

I do not think it is. Standard Lua does not offer threads. Several
other functions in the libraries are not thread safe (and will not be
if C does not offer a proper implementation). The documentation does
not state they are thread safe. (It would be somewhat awkward for a
language that does not support threads to discuss thread safety in its
documentation, but we can add it.) So, to be thread safe is a feature;
not to be is not a bug. Programmers should be aware about that and code
accordingly (e.g., using mutual exclusion to call those functions).

-- Roberto