lua-users home
lua-l archive

Re: Lua registry, environment, and threads.

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


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

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