diff options
author | Benoit Daloze <eregontp@gmail.com> | 2020-09-16 11:36:39 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2020-09-16 11:37:06 +0200 |
commit | 10290da54d04345587f63cb96ad833043e7f7f1c (patch) | |
tree | ae2dee92b019f8af9e1e0733954c9e551a811bb7 /test/fiber/scheduler.rb | |
parent | 9e813c1fc49ac5d1eba6ce38b8a1b44a80bafb91 (diff) |
Add a note at the top of the test scheduler
Diffstat (limited to 'test/fiber/scheduler.rb')
-rw-r--r-- | test/fiber/scheduler.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/fiber/scheduler.rb b/test/fiber/scheduler.rb index 7003d88417..d57e743067 100644 --- a/test/fiber/scheduler.rb +++ b/test/fiber/scheduler.rb @@ -1,5 +1,9 @@ # 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 'socket' |