Subject: [ruby-ffi] Re: Crazy thought (wrapping rb_thread_blocking_region) |
From: rogerdpack |
Date: 1/7/10 4:32 PM |
To: ruby-ffi |
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