aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-11 07:43:09 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-11 07:43:09 +0000
commitbe81f39c735ad8a08f47b081b94842dbc522066f (patch)
tree7d020d2e1ce30fea27f3ab4ff3710cbfe042088d
parentee388028714672bc5406b4fddf927a683185587d (diff)
downloadruby-be81f39c735ad8a08f47b081b94842dbc522066f.tar.gz
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
-rw-r--r--NEWS3
-rw-r--r--ext/fiddle/function.c4
2 files changed, 6 insertions, 1 deletions
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
*