lua-users home
lua-l archive

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


On Wed, Jun 24, 2020 at 10:45 AM Gé Weijers <ge@weijers.org> wrote:
> - coroutine.close does not work on threads that are not suspended or
> dead,  i.e. threads that are waiting for coroutine.resume to return.

This seems a bit hard to fix. If you put such a running thread that's
in coroutine.resume into a dead state, you'll have a hard time
yielding back into it. Is the problem here just about what happens
when you use os.exit in nested coroutines?