From: snacktime Date: 2006-08-06T15:55:11+09:00 Subject: Re: threads and system calls > > Look at EventMachine (Rubyforge) for a ruby implementation of something > much like Twisted at least as fast and relatively efficient too. EM > supports SSL, can easily handle multiple protocols and isn't very hard > to use. The latest (unpublished) versions support thread-pools and > locally-blocking functions (like Twisted's Deferreds) if you need them. > We don't have a large library of standard protocols like Twisted yet, > but they are coming. I had actually been keeping an eye on EventMachine, just hadn't taken the time to play around with it yet. Do you mean that you can do something similar to twisted's defertothread? ie, calling local blocking functions and have them run in the thread pool and be able to specify a callback of some type?