[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Any tips on 2 process vinyl to file converter?
- From: Steve Litt <slitt@...>
- Date: Thu, 27 Jan 2011 15:05:13 -0500
On Thursday 27 January 2011 03:58:46 Robert G. Jakabosky wrote:
> On Wednesday 26, Steve Litt wrote:
> > I'm thinking of redoing this in Lua. Can coroutines be run in two
> > different xterms? Can coroutines signal each other? Would you even
> > recommend coroutines? Does Lua have facilities to send Linux signals?
> > Might they communicate via sockets? Any other words of wisdom?
> You could use ConcurrentLua , which has a distributed mode that lets
> coroutine "tasks" communicate in an erlang style of message-passing between
> PIDs. So you would run one instance of Lua in each xterm window, there
> could even be background instances of Lua running worker tasks.
> Another option would be to use ZeroMQ  for message passing between
> instances of Lua.
> For Linux signals, you can use luaposix . It has a kill function that
> would work.
> 1. http://concurrentlua.luaforge.net/introduction.html
> 2. http://concurrentlua.luaforge.net/introduction.html
> 3. http://luaforge.net/projects/luaposix/
I'll look into all of those things.
Recession Relief Package