Subject: [ruby-ffi] Re: Crazy thought (wrapping rb_thread_blocking_region) |
From: v01d |
Date: 1/7/10 6:30 PM |
To: ruby-ffi |
That's a pretty good idea. +1 On 7 ene, 19:32, rogerdpack <rogerpack2...@gmail.com> wrote:
several of these calls in parallel native threads) and I just found out about Ruby's "rb_thread_blocking_region" C call.It might be nice if FFI would optionally wrap its calls in an rb_thread_blocking_region (just on 1.9, I guess). -r