From a26d09da85ed264b13e4fc9a8cee0df871ba2042 Mon Sep 17 00:00:00 2001 From: normal Date: Fri, 11 Dec 2015 07:43:09 +0000 Subject: [PATCH] NEWS: add note about Fiddle GVL release * NEWS: note Fiddle GVL release [Feature #11607] * ext/fiddle/function.c (Init_fiddle_function): document above, too git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 3 +++ ext/fiddle/function.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 53c8feffcf..fffd1a33ff 100644 --- a/NEWS +++ b/NEWS @@ -270,6 +270,9 @@ with all sufficient information, see the ChangeLog file. * Rake * Rake is removed from stdlib. [Feature #11025] +* Fiddle + * Fiddle::Function#call releases the GVL. [Feature #11607] + === Built-in global variables compatibility issues * $SAFE diff --git a/ext/fiddle/function.c b/ext/fiddle/function.c index f657d29fe2..772c09adcb 100644 --- a/ext/fiddle/function.c +++ b/ext/fiddle/function.c @@ -272,7 +272,9 @@ Init_fiddle_function(void) /* * Document-method: call * - * Calls the constructed Function, with +args+ + * Calls the constructed Function, with +args+. + * Caller must ensure the underlying function is called in a + * thread-safe manner if running in a multi-threaded process. * * For an example see Fiddle::Function *