From: "Morris, Chris" Date: 2002-05-31T22:26:10+09:00 Subject: RE: Threading question > t> Well, ruby use qsort(). a C function can't be > interrupted, this mean that > t> other threads are blocked when qsort() run. > > I've said a stupidity (it's normal :-)) > > Array#sort() can be called with a block, or can call a ruby > method this > mean that another thread can run Right, that makes sense. I guess I'm still unclear on my original question then. Does Ruby's threading granularity go down below a single line of script? If I write my own C extension that packages a lot of C code in a single Ruby call, can this C method be interrupted by another Ruby thread? Chris