[ruby-cvs:55363] knu:r48213 (trunk): Make Digest() thread-safe.

knu at ruby-lang.org knu at ruby-lang.org
Fri Oct 31 22:21:53 JST 2014


knu	2014-10-31 22:21:51 +0900 (Fri, 31 Oct 2014)

  New Revision: 48213

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

  Log:
    Make Digest() thread-safe.
    
    * ext/digest/lib/digest.rb (Digest()): This function should now be
      thread-safe.  If you have a problem with regard to on-demand
      loading under a multi-threaded environment, preload "digest/*"
      modules on boot or use this method instead of directly
      referencing Digest::*. [Bug #9494]
      cf. https://github.com/aws/aws-sdk-ruby/issues/525

  Added directories:
    trunk/test/digest/digest/
  Added files:
    trunk/test/digest/digest/foo.rb
  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/ext/digest/lib/digest.rb
    trunk/test/digest/test_digest.rb


More information about the ruby-cvs mailing list