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 | 58ecf3244258837e0a8f0d7cab89effad94c7fa0 (patch) | |
| tree | 840c36be0f50cc01ff145a9d56b095c05304652f /include/ruby | |
| parent | 9ee0fc95ba7c31abe3c1437f2ff0cc710d1e0df8 (diff) | |
| download | ruby-58ecf3244258837e0a8f0d7cab89effad94c7fa0.tar.gz ruby-58ecf3244258837e0a8f0d7cab89effad94c7fa0.tar.xz ruby-58ecf3244258837e0a8f0d7cab89effad94c7fa0.zip | |
* 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
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
