From 58ecf3244258837e0a8f0d7cab89effad94c7fa0 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 29 Dec 2008 03:03:09 +0000 Subject: * thread.c (rb_mutex_trylock): return false if Mutex owned by current thread. [ruby-core:20943] * thread.c (rb_mutex_lock): check dead lock (recursive lock) here. * test/ruby/test_thread.rb: add a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 1eb49c5d0..a433bb4b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Mon Dec 29 11:58:39 2008 Koichi Sasada + + * thread.c (rb_mutex_trylock): return false if Mutex owned + by current thread. [ruby-core:20943] + + * thread.c (rb_mutex_lock): check dead lock (recursive lock) here. + + * test/ruby/test_thread.rb: add a test. + Mon Dec 29 10:58:54 2008 NARUSE, Yui * file.c (rb_get_path): move encoding conversion of file path -- cgit