Re: using libev with multiple threads

2013-02-03 Thread Tony Arcieri
Hello there, I use libev as part of a multithreaded system in Ruby called Celluloid::IO. libev itself is specifically wrapped by this gem, which provides a cross-platform wrapper between CRubies (which use libev) and JRuby (which uses Java NIO): https://github.com/tarcieri/nio4r I can't say

Re: using libev with multiple threads

2013-01-31 Thread Marc Lehmann
On Thu, Jan 31, 2013 at 03:31:01PM +0100, Chris Herssens chris.herss...@gmail.com wrote: Does someone has an example? Hopefully somebody has :) I think that I have to use the ev_loop_new() api, for the worker-threads and for the main thread I have to use the ev_default_loop() ? No - you can