[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Should Lua reject (via assertions) calls which may error on a yielded thread?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 10 Aug 2016 10:22:02 -0300
> > I have to rethink that again, but it does seem a good idea to use
> > non-main threads only inside resumes.
> I'm not sure I follow what you mean here.
I was just trying to agree with you. Trying again: the only thing that a
C function should do on a thread that is not its C parameter (the L) is
to resume it (or xmove values from-to it).