diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-29 03:03:09 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-29 03:03:09 +0000 |
commit | b2ad49565f10dfdd594680c2fa7a4af81c1027fe (patch) | |
tree | 840c36be0f50cc01ff145a9d56b095c05304652f /ChangeLog | |
parent | a928613a313e7750c7dcee824631cd6ed1690344 (diff) | |
download | ruby-b2ad49565f10dfdd594680c2fa7a4af81c1027fe.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@21148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Mon Dec 29 11:58:39 2008 Koichi Sasada <ko1@atdot.net> + + * 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 <naruse@ruby-lang.org> * file.c (rb_get_path): move encoding conversion of file path |