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
base64
bigdecimal
bigmath
cgi
cmath/math Update to ruby/spec@519df35 2019-09-29 16:03:58 +02:00
conditionvariable
coverage
csv
date
datetime
delegate
digest
drb
English
erb
etc
expect
fiber Fix Fiber#transfer 2019-10-21 16:54:58 -07:00
find
getoptlong
ipaddr
logger Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
mathn
matrix
monitor
net
objectspace
observer
open3
openssl
openstruct
optionparser
pathname
pp
prime
rbconfig Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
readline
resolv
rexml
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
shellwords
singleton
socket
stringio
stringscanner Import StringScanner 1.0.3 (#2553) 2019-10-14 12:40:50 +09:00
syslog
tempfile Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
thread
time
timeout
tmpdir/dir Update to ruby/spec@34e6246 2019-09-29 19:13:37 +02:00
uri
weakref
win32ole
yaml
zlib