[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Coroutines & C boundaries
- From: Mike Pall <mikelu-0602@...>
- Date: Wed, 15 Feb 2006 16:48:35 +0100
Hi,
David Given wrote:
> Does anyone know if the resumable VM patch is available for either 5.1rc or
> 5.0?
Nope. But there's Coco which is functionally the same for your
purposes. I'll release an update to Coco whenever Lua 5.1 final
is out. Mail me if you need a pre-release against 5.1-rc4.
> I still don't know why this isn't working, either (it doesn't work on vanilla
> 5.1rc either).
IMHO it's better to find out the reason for this. It may point to
a mistake in your program or a misunderstanding. The example you
gave runs fine with a plain Lua script. My guess is that you are
using pcall() or a callback from C code somewhere in a coroutine.
Bye,
Mike