On Mar 23, 9:37   벮
> Your c block needs to be within rb_thread_blocking_region to not block
> the (UI responding) ruby threads, I'm thinking.
>
> ref:http://en.wikibooks.org/wiki/Ruby_Programming/Reference/Objects/Threa...
>
> --
> Posted viahttp://www.ruby-forum.com/.

Thanks Roger, that's what I ended up doing, and it's working
beautifully :)