Project

General

Profile

Feature #4328

Updated by drbrain (Eric Hodel) about 8 years ago

=begin 
  
  I think it is general enough to remain supported along 
  with the rest of the MRI C API, especially since 
  rb_thread_blocking_region() exists and is supported. 
 
  It's useful for interacting with certain C libraries that expect a 
  user-supplied callback function so the extension can allocate a Ruby 
  object inside the callback. 
 
  It can also be easily made a no-op for Ruby implementations without a 
  GVL. 
 
 =end 
 

Back