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

ruby-changes:47271

From: normal <ko1@a...>
Date: Sat, 22 Jul 2017 04:06:17 +0900 (JST)
Subject: [ruby-changes:47271] normal:r59385 (trunk): NEWS: add entries for thread_sync.c changes

normal	2017-07-22 04:06:07 +0900 (Sat, 22 Jul 2017)

  New Revision: 59385

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

  Log:
    NEWS: add entries for thread_sync.c changes
    
    I'm slightly worried about some external code subclassing
    ConditionVariable, Queue, and SizedQueue and relying on them
    being Structs.  However, they only started being Structs with
    Ruby 2.1, and were implemented in pure Ruby before that; so
    hopefully nobody notices that implementation detail.
    
    Also, note the Mutex change as it may affect program design
    when space can be saved.
    
    * NEWS: entries for [Feature #13552] and [Feature #13517]

  Modified files:
    trunk/NEWS
Index: NEWS
===================================================================
--- NEWS	(revision 59384)
+++ NEWS	(revision 59385)
@@ -141,6 +141,9 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L141
 * Random.raw_seed renamed to become Random.urandom.  It is now
   applicable to non-seeding purposes due to [Bug #9569].
 
+* ConditionVariable, Queue and SizedQueue reimplemented for speed.
+  They no longer subclass Struct. [Feature #13552]
+
 === Stdlib compatibility issues (excluding feature bug fixes)
 
 * mathn.rb
@@ -157,6 +160,8 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L160
 
 * SecureRandom now prefers OS-provided sources than OpenSSL. [Bug #9569]
 
+* Mutex rewritten to be smaller and faster [Feature #13517]
+
 === Miscellaneous changes
 
 * Print backtrace and error message in reverse order if STDERR is unchanged and a tty.

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

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