[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Thread defs
- From: Mike Pall <mikelu-0509@...>
- Date: Mon, 26 Sep 2005 13:26:03 +0200
Hi,
Stukov wrote:
> And one more question: where should I call luai_userstatefree
> function?
> luai_userstateopen function is called from lua_newstate.
> May be place luai_userstatefree in lua_close?
You don't need it for LuaThreads (though a future version could
probably make good use of it). AFAIK it's only used by Coco.
But you are right, luai_userstatefree() is missing in luaE_freethread.
This is a known bug in Lua 5.1 alpha:
http://lua-users.org/lists/lua-l/2005-09/msg00313.html
Bye,
Mike