On Sep 19, 2006, at 2:26 AM, hemant wrote:

> On 9/19/06, Eric Hodel <drbrain / segment7.net> wrote:
> <snip>
>>
>> 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.
>>
> </snip>
>
> oh..so until if i call some method defined inside a rubyinline
> function from a Ruby thread, the thread will block...till that method
> finished execution?
>
> I will keep in mind.

So long as you stay inside the C function, yes.  If you call back out  
to ruby or use socket operations threads can be switched.

-- 
Eric Hodel - drbrain / segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com