Project

General

Profile

« Previous | Next » 

Revision 74c5e807

Added by kosaki (Motohiro KOSAKI) over 14 years ago

  • thread.c (rb_mutex_lock, lock_func): Avoid busy loop and
    performance degression. bm_vm3_thread_mutex.rb performance
    change from 109.064sec to 16.331sec.

  • thread.c (init_lock_timeout): New helper function.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e