Commit graph

4 commits

Author SHA1 Message Date
shyouhei
d18b653719 merge revision(s) 23432:
* eval.c (rb_thread_join), ext/thread/thread.c (wake_one): adjusts
	  targets of rest waiting threads to join.  [ruby-core:23457]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-06 06:16:25 +00:00
shyouhei
78630e3a82 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_7@23049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-23 10:17:50 +00:00
nobu
e3624857f6 * test/thread/test_thread.rb (test_local_barrier), test/thread/lbtest.rb: test for [ruby-dev:30653].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-12 06:49:29 +00:00
knu
89150c9ecb * test/thread/test_thread.rb: Add a test script for the `thread'
library.  This should result in failure as of now with
  ext/thread; submitted by: Sylvain Joyeux <sylvain.joyeux AT
  m4x.org> in [ruby-core:10598].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-16 07:21:02 +00:00