On Fri, Apr 11, 2008 at 5:36 PM, Todd Fisher <[EMAIL PROTECTED]> 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 medioh.com
_______________________________________________ libev mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
