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

* eval.c (rb_thread_schedule): raise FATAL just once to

THREAD_TO_KILL.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2001-03-14 08:39:13 +00:00
parent 53ff8df72f
commit 1fd502ccc1
3 changed files with 16 additions and 5 deletions

View file

@ -185,7 +185,7 @@ class Queue
end
end
def shift(non_block=false)
pop(non_block=false)
pop(non_block)
end
alias deq shift