lua-users home
lua-l archive

Re: GC and lua_newthread and other issues

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


 //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

AltStyle によって変換されたページ (->オリジナル) /