ruby-changes:62980
From: Benoit <ko1@a...>
Date: Wed, 16 Sep 2020 18:37:32 +0900 (JST)
Subject: [ruby-changes:62980] 10290da54d (master): Add a note at the top of the test scheduler
https://git.ruby-lang.org/ruby.git/commit/?id=10290da54d From 10290da54d04345587f63cb96ad833043e7f7f1c Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Wed, 16 Sep 2020 11:36:39 +0200 Subject: Add a note at the top of the test scheduler diff --git a/test/fiber/scheduler.rb b/test/fiber/scheduler.rb index 7003d88..d57e743 100644 --- a/test/fiber/scheduler.rb +++ b/test/fiber/scheduler.rb @@ -1,5 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/test/fiber/scheduler.rb#L1 # 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' -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/