[ANN evdispatch]

Tony Arcieri tony at medioh.com
Sat Apr 12 02:00:14 CEST 2008

On Fri, Apr 11, 2008 at 5:36 PM, Todd Fisher <todd.fisher at gmail.com> wrote:

> I also really like to avoid multi-threading, but I'm afraid given the
> limitation of the ruby language (not that it doesn't make up for them in
> other ways) it's only possible to take full advantage of libev by running
> it's event loop in a separate thread independent of ruby's own scheduling.

Both Rev (http://rev.rubyforge.org/) and Ebb (http://ebb.rubyforge.org/) run
libev alongside Ruby 1.8's scheduler by effectively busy-waiting on
rb_thread_schedule().  Rev also supports making long-running system calls
with Ruby 1.9's new rb_thread_blocking_region().

Tony Arcieri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20080411/9105c3f7/attachment.html>

More information about the libev mailing list