1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/library
Jeremy Evans fa8ac91e95
Fix Fiber#transfer
Fiber#transfer previously made it impossible to resume the fiber
if it was transferred to (no resuming the target of Fiber#transfer).
However, the documentation specifies that you cannot resume a fiber
that has transferred to another fiber (no resuming the source of
Fiber#transfer), unless control is transferred back.

Fix the code by setting the transferred flag on the current/source
fiber, and unsetting the transferred flag on the target fiber.

Fixes [Bug #9664]
Fixes [Bug #12555]
2019-10-21 16:54:58 -07:00
..
abbrev Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
base64
bigdecimal Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
bigmath
cgi Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
cmath/math Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
conditionvariable Update to ruby/spec@15c9619 2019-04-27 18:53:23 +02:00
coverage Update to ruby/spec@15c9619 2019-04-27 18:53:23 +02:00
csv Update to ruby/spec@15c9619 2019-04-27 18:53:23 +02:00
date Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
datetime Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
delegate Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
digest Fix typo: duplicated the [skip-ci] 2019-08-09 16:23:49 -07:00
drb
English io.c: warn non-nil $, 2019-04-18 21:56:55 +00:00
erb Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
etc Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
expect Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
fiber Fix Fiber#transfer 2019-10-21 16:54:58 -07:00
find
getoptlong Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
ipaddr Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
logger Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
mathn Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
matrix Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
monitor
net Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
objectspace Update to ruby/spec@9a501a8 2019-05-28 22:41:48 +02:00
observer Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
open3 Update to ruby/spec@8d74d49 2019-06-27 21:02:36 +02:00
openssl Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
openstruct Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
optionparser Update to ruby/spec@15c9619 2019-04-27 18:53:23 +02:00
pathname Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
pp Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
prime Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
rbconfig Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
readline Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
resolv Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
rexml Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
rubygems/gem Revert "Simplify bin_path_spec.rb guard" 2019-10-03 15:58:20 -07:00
scanf Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
securerandom Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
set Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
shellwords Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
singleton Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
socket Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
stringio Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
stringscanner Import StringScanner 1.0.3 (#2553) 2019-10-14 12:40:50 +09:00
syslog Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
tempfile Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
thread Update to ruby/spec@cdd6ff7 2018-11-27 20:38:57 +00:00
time Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
timeout Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
tmpdir/dir Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
uri Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
weakref Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
win32ole Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
yaml Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00
zlib Update to ruby/spec@875a09e 2019-07-27 12:40:09 +02:00