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

Add a note at the top of the test scheduler

This commit is contained in:
Benoit Daloze 2020-09-16 11:36:39 +02:00
parent 9e813c1fc4
commit 10290da54d

View file

@ -1,5 +1,9 @@
# frozen_string_literal: true # frozen_string_literal: true
# This is an example and simplified scheduler for test purposes.
# It is not efficient for a large number of file descriptors as it uses IO.select().
# Production Fiber schedulers should use epoll/kqueue/etc.
require 'fiber' require 'fiber'
require 'socket' require 'socket'