lua-users home
lua-l archive

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


> 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