1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

4 commits

Author SHA1 Message Date
shyouhei
fffffd6df2 merge revision(s) 22011:
* ext/thread/thread.c (rb_queue_pop, rb_queue_push): should not lock
	  mutex if got an exception while waiting, and should ensure unlocked
	  after signaled.  [ruby-dev:37545]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@23047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-23 10:16:30 +00:00
shyouhei
d9a45b677e * ext/thread/thread.c (lock_mutex): should take care of threads
not waiting any longer; there cases of a thread raising
	  exceptions. [ ruby-Bugs-11901 ]

	* test/thread/test_thread.rb (test_mutex_exception_handling):
	  test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-16 20:42:15 +00:00
shyouhei
84cc67f98b git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2007-09-16 20:00:11 +00:00
shyouhei
e27ef85f5c * merge -r 12066:12069
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-16 11:31:00 +00:00