Project

General

Profile

Actions

Feature #4328

closed

export rb_thread_call_with_gvl()

Added by normalperson (Eric Wong) almost 14 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
[ruby-core:34888]

Description

=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


Files

0001-export-rb_thread_call_with_gvl.patch (1.5 KB) 0001-export-rb_thread_call_with_gvl.patch [PATCH] export rb_thread_call_with_gvl() normalperson (Eric Wong), 01/27/2011 03:51 PM

Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #5543: rb_thread_blocking_region() API is poorly designedClosedko1 (Koichi Sasada)11/02/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0