From: Eric Hodel Date: 2006-09-19T04:14:34+09:00 Subject: Re: rubyinline and rails - do they play nice On Sep 15, 2006, at 1:00 PM, hemant wrote: > On 9/16/06, hemant wrote: >> > 2. Use BackgrounDRb as you suggest > > I am already using Backgroundrb for several other stuff. But i am > curious, that how it will work with rubyinline? Ruby threads, should > handle it alright..theoretically(since backgroundrb uses ruby threads) > > But, i would just ask opinions of Ezra on this. Because i feel, stuff > at my end needs some real optimization. These worker threads are damn > slow and i need to make them fast. Note that C code typically won't allow a thread switch, so the ruby process will be blocked until the C method returns. Exceptions to this include socket operations performed via the Ruby/C API and manual calls of CHECK_INTS. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com