lua-users home
lua-l archive

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

Hello Cosmin,

Saturday, November 7, 2009, 2:45:27 AM, you wrote:

> AFAIK, a shared library can only be loaded once (i.e. have one global
> state) per process. If only that weren't true, many stateful libs
> would become thread-safe automatically and the Lua C API wouldn't need
> a state argument.

as the last resort, we can make a copy of file and load it again :)

Best regards,