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:
parent
9e813c1fc4
commit
10290da54d
1 changed files with 4 additions and 0 deletions
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue