Project

General

Profile

« Previous | Next » 

Revision b2ad4956

Added by ko1 (Koichi Sasada) over 16 years ago

  • 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