lua-users home
lua-l archive

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


> One thing I see is that LUA_INIT is checked by the lua.exe program
> not by core Lua. So if you create a lua thread with llthreads or
> create a new lua_state which executes some lua code then that will
> not see the LUA_INIT updates automatically. Or am I missing something?

No.   You  are  right.  This  is  why  I  add  support  LUA_INIT to my
llthread2.ex module[1]. But in general you need do it by yourself.

[1] https://github.com/moteus/lua-llthreads2/blob/master/src/lua/llthreads2/ex.lua#L66-L91


--
С уважением,
 Alexey                          mailto:alexeymelnichuck@gmail.com


---
Это сообщение проверено на вирусы антивирусом Avast.
https://www.avast.com/antivirus