From: Aaron Patterson Date: 2015-10-28T07:47:13-07:00 Subject: [ruby-core:71246] Re: [Ruby trunk - Feature #11607] [PATCH] fiddle: release GVL for ffi_call On Tue, Oct 27, 2015 at 08:54:07AM +0000, Eric Wong wrote: > Yes, user must check if the function is MT-safe. Probably fine > for most library functions... > > Maybe releasing GVL can be optional, but I would rather avoid > exposing implementation detail or new APIs... I think it's fine. Calling a C function from fiddle that requires the GVL to be locked seems like an edge case. Maybe we can make an option to maintain keep the GVL locked, and make "unlocking the GVL" default behavior. -- Aaron Patterson http://tenderlovemaking.com/