lua-users home
lua-l archive

Re: Which thread does the garbage collector run in?

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


Thanks. That seems to confirm the behaviour I'm seeing now. I placed GCSTOP and GCRESTART at the start and end of all calls in the high priority thread (and in no calls in the other threads); no crashes yet!
On Dec 8, 2006, at 10:32 AM, Mark Hamburg wrote:
I'm reasonably certain that the garbage collector will run from any and all threads and that the switches to turn it on and off affect all threads.
Mark

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