mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* cont.c (rb_fiber_start): unify conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
398581564d
commit
920736460b
2 changed files with 5 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Dec 22 22:04:58 2012 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org>
|
||||
|
||||
* cont.c (rb_fiber_start): unify conditions.
|
||||
|
||||
Sat Dec 22 21:47:55 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* io.c (rb_io_wait_writable): use rb_thread_check_ints() instead
|
||||
|
|
5
cont.c
5
cont.c
|
@ -1161,10 +1161,7 @@ rb_fiber_start(void)
|
|||
TH_POP_TAG();
|
||||
|
||||
if (state) {
|
||||
if (state == TAG_RAISE) {
|
||||
rb_threadptr_async_errinfo_enque(th, th->errinfo);
|
||||
}
|
||||
else if (state == TAG_FATAL) {
|
||||
if (state == TAG_RAISE || state == TAG_FATAL) {
|
||||
rb_threadptr_async_errinfo_enque(th, th->errinfo);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Reference in a new issue