[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua registry, environment, and threads.
- From: Leo Razoumov <slonik.az@...>
- Date: Wed, 6 Jan 2010 13:50:28 -0500
On 2010-01-06, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>
> In C, it is not difficult to use the thread itself as a key to store
> per-thread data in the registry, if necessary.
>
> -- Roberto
How would it play with GC? Do I need to manually remove the key from
the registry to let gc collect a dead thread?
--Leo--
- References:
- Lua registry, environment, and threads., Christian Tellefsen
- Re: Lua registry, environment, and threads., Patrick Donnelly
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy
- Re: Lua registry, environment, and threads., Christian Tellefsen
- Re: Lua registry, environment, and threads., Roberto Ierusalimschy