|
David Burgess wrote:
Can you add lua_State* mL= luaL_getmainthread(L); // returns the main lua state to the list?
I second that. Also, at the moment, checking if a thread is the main one is a little cumbersome (i.e. pushthread, checking the return value and then poping the thread). luaL_getmainthread would allow for an easy equality test.
Regards, Ignacio BurgueñoP.S. Wouldn't it be nice to have a place in lua.org or in lua-users' wiki were this kind of requests could be posted, and Lua authors could state their opinions on them?