lua-users home
lua-l archive

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


Hello,

What happens if the only reference to a coroutine is stored
in its own stack? Is it going to be garbage collected or not?

  struct lua_State *child_L = lua_newthread(L);
  lua_xmove(L, child_L, 1);

  ...

-- 
http://tarantool.org - an efficient, extensible in-memory data store