[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: documentation (?) bug: call hook yields [WAS: Re: Strange way to determine whether it is Lua or C function]
- From: Viacheslav Usov <via.usov@...>
- Date: Mon, 24 Aug 2020 08:47:43 +0200
On Sun, Aug 23, 2020 at 10:23 PM Egor Skriptunoff
<egor.skriptunoff@gmail.com> wrote:
> "coroutine.yield()" raises an exception "attempt to yield across a C-call boundary".
> The coroutine dies, and the main thread resumes execution.
Indeed, I overlooked that. So, no bug here. The only - small - thing
is that the message is the same when either C or Lua-based coroutine
is called, which looks weird in the latter case.
Cheers,
V.