lua-users home
lua-l archive

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

Hello All,

I have a strange problem with GC.
I assigned __gc metamaethod for my objects to trace gcollection
and discovered that when i create luathreads using lua_newthread, run
some scripts in them and then call lua_setgctreshold(0), all my
objects become gc'ed except created in thread, that was created last.

Is it a bug or special feature?

Best regards,
  Antero Vipunen