lua-users home
lua-l archive

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

On Mar 11, 2005, at 18:24, Luiz Henrique de Figueiredo wrote:

 Please always post complete but
minimal code and a transcript of a session when reporting "bugs".

Sorry about that. My bad. This is related to coroutines. One coroutine throws an exception which never gets reported as the coroutine exit/get suspended after that. Sigh.

Anyway... what's the usage recommendation for pcall() and coroutine? A straight pcall() appears to result in an "attempt to yield across metamethod/C-call boundary".

What is the proper way to use pcall() in a coroutine?



PA, Onnay Equitursay