1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
Lars Kanis 9c0582704f Fix example fiber scheduler reg. writable events
There were two issues:

1. When an IO object is waiting for writablility only (as in test_tcp_accept) the selected hash is empty.
   Therefore selected[fiber] returns nil but needs to default to 0 in order to be or'ed with IO::WRITABLE.

2. When an IO object is waiting for read- or writability (as in test_tcp_connect), but only one of these
   two events arrive, the Fiber and IO object need to be removed from the other `@readable` or `@writable` list.
2021-08-26 21:49:12 +12:00
..
-ext- Renamed thraed_fd_close as thread_fd 2021-07-29 21:15:04 +09:00
base64
benchmark
bigdecimal
cgi
coverage Check type of instruction - can be INSN or ADJUST 2021-06-23 11:34:37 -07:00
csv
date [ruby/date] Fix comparison with Float::INFINITY 2021-07-11 20:28:21 +09:00
did_you_mean [ruby/did_you_mean] Prevent "warning: ambiguity between regexp and two divisions" 2021-07-19 10:34:38 +09:00
digest [ruby/digest] Use pend instead of skip 2021-07-28 11:48:36 +09:00
drb
dtrace
erb
error_highlight [ruby/error_highlight] Fixed the argument for DidYouMean.formatter= 2021-08-20 16:27:07 +09:00
etc
excludes
fiber Fix example fiber scheduler reg. writable events 2021-08-26 21:49:12 +12:00
fiddle [ruby/fiddle] Simplify libc and libm path logics (https://github.com/ruby/fiddle/pull/91) 2021-08-24 16:18:24 +09:00
fileutils
fixtures/fake_sorted_set_gem
io
irb [ruby/irb] Show code page by irb_info on Windows 2021-07-16 01:55:25 +09:00
json
lib
logger
mkmf mkmf.rb: try linking at try_var 2021-07-08 18:18:35 +09:00
monitor Distinguish signal and timeout [Bug #16608] 2021-07-25 13:09:03 -07:00
net Fix test failure of 60b02db516 with Windows 2021-07-29 20:54:54 +09:00
nkf
objspace
open-uri Guard for the ftp protocol feature of OpenURI 2021-05-27 14:42:11 +09:00
openssl test/openssl/test_x509cert.rb: Prevent "unused variable" warning 2021-07-19 10:57:56 +09:00
optparse
ostruct Partly picked from 20d0b8c065 2021-07-29 15:52:32 +09:00
pathname
psych [ruby/psych] require 'delegate' explicitly 2021-07-29 15:54:34 +09:00
racc [ruby/racc] Stop compressing integer lists 2021-06-25 17:23:06 +09:00
rdoc [ruby/rdoc] Fix links without paths 2021-07-05 11:34:37 +09:00
readline [ruby/readline-ext] Give up Editline 2021-08-14 22:13:56 +09:00
reline [ruby/reline] Add workspace member for the latest IRB's implementation 2021-08-14 22:13:31 +09:00
resolv
rinda
ripper Extract the wrapped value when yydebug [Bug #18075] 2021-08-15 11:40:06 +09:00
ruby Fix warnings in test_optimization.rb 2021-08-24 08:34:48 -07:00
rubygems [rubygems/rubygems] Check requirements classes 2021-07-27 09:25:56 +09:00
socket test/socket/test_socket.rb: skip on Solaris 2021-07-29 13:51:43 +09:00
stringio
strscan
syslog
uri Update to latest uri 2021-07-28 12:26:31 +02:00
win32ole
yaml Prefer qualified names under Thread 2021-06-29 11:41:10 +09:00
zlib [ruby/zlib] Synchronize access to zstream to prevent segfault in multithreaded use 2021-07-28 13:40:03 +09:00
runner.rb Fix bundled gems locations 2021-07-30 12:21:38 +09:00
test_abbrev.rb
test_delegate.rb
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb
test_pp.rb
test_prettyprint.rb
test_pstore.rb Prefer qualified names under Thread 2021-06-29 11:41:10 +09:00
test_pty.rb
test_rbconfig.rb
test_securerandom.rb
test_set.rb [ruby/set] Allow Set#intersect? and #disjoint? to accept array argument 2021-07-29 14:18:10 +09:00
test_shellwords.rb
test_singleton.rb
test_sorted_set.rb
test_syslog.rb
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tmpdir.rb
test_trick.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb