[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: coroutines and error handling
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 26 Jun 2003 13:22:29 -0300
> I understand why I can't yield across a C call, but what is the reason for
> the other part of the assertion?
Sorry about that. I didn't notice the other part. Currently it is only
an internal check: as lua_resume does not set an error handler, it must
be zero. There is nothing inherently wrong with an error handler in
coroutines.
> However, I still wonder why a similar functionality doesn't exist in the
> first place?
Sloppines? ;)
-- Roberto