lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Idea for an event loop library
From
: Fabien <fleutot+lua@
...
>
Date
: Thu, 10 May 2012 11:59:45 +0200
On Wed, May 9, 2012 at 1:22 PM, Rob Hoelz
<
rob@hoelz.ro
>
wrote:
Basically, I want to create an event library for Lua [..] on coroutines
You might want to look at
https://github.com/SierraWireless/luasched
, which I presented at last year's Lua workshop (
http://www.lua.org/wshop11/m2m-embedded-development-with-lua.pdf
, starting at slide #19). What's published on github is POSIX/select() based, but it's easily ported on event-loop-based system: we've got it running without a proper OS underneath, directly on a microcontroller's event loop.
The detailed reference doc is in
https://github.com/SierraWireless/luasched/blob/master/sched/init.lua
's comments, and can be generated with LDoc (will soon move on to Eclipse's Lua documentor system). We should commit the generated doc on github IMO, I'll try to do that.
References
:
Idea for an event loop library
,
Rob Hoelz
Prev by Date:
Re: Idea for an event loop library
Next by Date:
Re: Idea for an event loop library
Previous by thread:
Re: Idea for an event loop library
Next by thread:
Re: Idea for an event loop library
Index(es):
Date
Thread