Re: Single instance module and multithreading

From: mitchell <>
Date: Sun, 22 Feb 2009 13:04:15 -0800 (PST)


> Maybe it is better to use some 3rd party library instead of (re)implementing
> threading support from scratch?
> LuaLanes <> looks quite interesting: it
> supports three major platforms and utilizes message-passing abstraction,
> which in many cases makes multithreaded development easier.

LuaLanes looks good. I've been playing around with it, but still
cannot get something to work yet. The idea I have is to have a socket
listening to a port inside a lane, and when it receives something,
calls a function defined outside the lane, passing the string
parameter that should be executed as Lua code (e.g. '
("foo")'). I'm still not sure if this is possible as the Lanes
documentation is cryptic.
Received on Sun 22 Feb 2009 - 16:04:15 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:37:30 EST