[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Sharing data between LuaTask tasks...
- From: Javier Guerra Giraldez <javier@...>
- Date: Sun, 13 May 2007 18:53:36 -0500
On Sunday 13 May 2007, duck wrote:
> Has anyone used LuaTask for handling multiple threads which communicate
> using multiple blocking sockets?
(a bit of self-promotion...)
i haven't used LuaTask precisely because of that limitation on message
passing; my solution is HTT (Helper Threads Toolkit), it makes easy to write
non-blocking C modules, so that you can easily poll with a coroutine-based
as examples, i've written file and TCP I/O modules, as well as a simple (but
check it in http://luaforge.net/projects/helper-threads/ but don't waste time
with the packaged r-4, go directly to the CVS head.
Description: PGP signature