ruby-changes:14811
From: akr <ko1@a...>
Date: Mon, 15 Feb 2010 23:09:37 +0900 (JST)
Subject: [ruby-changes:14811] Ruby:r26673 (trunk): * lib/pstore.rb (PStore#initialize): initialize @thread_safe.
akr 2010-02-15 23:09:19 +0900 (Mon, 15 Feb 2010) New Revision: 26673 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26673 Log: * lib/pstore.rb (PStore#initialize): initialize @thread_safe. [ruby-core:27853] Modified files: trunk/ChangeLog trunk/lib/pstore.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 26672) +++ ChangeLog (revision 26673) @@ -1,3 +1,8 @@ +Mon Feb 15 23:08:56 2010 Tanaka Akira <akr@f...> + + * lib/pstore.rb (PStore#initialize): initialize @thread_safe. + [ruby-core:27853] + Mon Feb 15 22:45:26 2010 Tanaka Akira <akr@f...> * st.c (st_foreach): don't access ptr->hash after func call. Index: lib/pstore.rb =================================================================== --- lib/pstore.rb (revision 26672) +++ lib/pstore.rb (revision 26673) @@ -131,6 +131,7 @@ @filename = file @abort = false @ultra_safe = false + @thread_safe = thread_safe if @thread_safe @lock = Mutex.new else -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/