[前][次][番号順一覧][スレッド一覧]

ruby-changes:40957

From: normal <ko1@a...>
Date: Fri, 11 Dec 2015 16:43:38 +0900 (JST)
Subject: [ruby-changes:40957] normal:r53036 (trunk): NEWS: add note about Fiddle GVL release

normal	2015-12-11 16:43:09 +0900 (Fri, 11 Dec 2015)

  New Revision: 53036

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53036

  Log:
    NEWS: add note about Fiddle GVL release
    
    * NEWS: note Fiddle GVL release [Feature #11607]
    * ext/fiddle/function.c (Init_fiddle_function): document above, too

  Modified files:
    trunk/NEWS
    trunk/ext/fiddle/function.c
Index: ext/fiddle/function.c
===================================================================
--- ext/fiddle/function.c	(revision 53035)
+++ ext/fiddle/function.c	(revision 53036)
@@ -272,7 +272,9 @@ Init_fiddle_function(void) https://github.com/ruby/ruby/blob/trunk/ext/fiddle/function.c#L272
     /*
      * 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
      *
Index: NEWS
===================================================================
--- NEWS	(revision 53035)
+++ NEWS	(revision 53036)
@@ -270,6 +270,9 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L270
 * Rake
   * Rake is removed from stdlib.  [Feature #11025]
 
+* Fiddle
+  * Fiddle::Function#call releases the GVL.  [Feature #11607]
+
 === Built-in global variables compatibility issues
 
 * $SAFE

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]