Re: GC and lua_newthread and other issues
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: GC and lua_newthread and other issues
- From: "Wesley Smith" <wesley.hoke@...>
- Date: 2008年1月24日 03:16:45 -0800
//register script in Lua to access later and keep from being collected
lua_getfield(L, LUA_REGISTRYINDEX, LuaAV_app_table_name);
printf("\n L gut check\n");
stackDump(L);
lua_getfield(Ls, LUA_REGISTRYINDEX,
LuaAV_app_table_name);
printf("\n Ls gut check\n");
stackDump(L);
lua_pop(L, 1);
Ok, stackDump was not being done on the Ls thread state thus it wasn't
showing up. Time to sleep.
thanks,
wes