Exemple #1
0
void RubyGVL::Unlock(){
  if(!locked) {
    return;
  }
  locked = false;
  curb_lock = rb_thread_blocking_region_begin();
}
static void
cb_release (MilterEventLoop *loop, gpointer user_data)
{
    ReleaseData *data = user_data;
    data->buffer = rb_thread_blocking_region_begin();
}