[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: question for lua-COCO implementation
- From: Mike Pall <mikelu-1004@...>
- Date: Tue, 20 Apr 2010 01:21:12 +0200
takehiro iyatomi wrote:
> 2010/4/19 Mike Pall <mikelu-1004@mike.de>
> because my framework needs to yield lua execution inside metamethod to
> provide similar feature like lua-RPC(http://q12.org/lua/index.html) but more
> asynchronous. if there is way to yield inside metamethod and less memory
> overhead, I should use it. but currently (as long as my investigation) I
> need to rely on lua+coco patch.
Both LuaJIT and Lua 5.2 allow you to yield from a metamethod.
Lua 5.1 doesn't.
--Mike