Re: lua_yield and coroutine.yield
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lua_yield and coroutine.yield
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2004年4月16日 17:15:03 -0300
> is it correct to use coroutine.yield(...) inside LUA to yield a lua
> thread which is started from C? Or have I to implement C closure
> which returns lua_yield(...) as described in manual? Is there any
> difference?
No. coroutine.yield simply calls lua_yield.
-- Roberto