[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Unpicking require
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 29 Nov 2021 10:14:55 -0300
> Thanks. I think this solves my problem. Am I right in thinking that I
> should avoid requiring any C-modules in a coroutine? That would not be a
> hardship.
There is no problem requiring C modules in coroutines. The CLIBS is
attached to the registry, which is a global structure. Only when the
entire Lua state is closed that it will be collected.
-- Roberto
- References:
- Re: Unpicking require, Gavin Wraith
- Re: Unpicking require, Roberto Ierusalimschy
- Re: Unpicking require, Gavin Wraith
- Re: Unpicking require, Sean Conner
- Re: Unpicking require, Gavin Wraith
- Re: Unpicking require, Ranier Vilela
- Re: Unpicking require, Ranier Vilela
- Re: Unpicking require, Gavin Wraith
- Re: Unpicking require, Roberto Ierusalimschy
- Re: Unpicking require, Gavin Wraith