[ruby-core:81029] Re: [ruby-cvs:65407] normal:r58236 (trunk): thread.c: comments on M:N threading [ci skip]

From: SASADA Koichi <ko1@...>
Date: 2017-05-08 02:16:01 UTC
List: ruby-core #81029
On 2017/05/08 10:53, SASADA Koichi wrote:
> Yes. I'm thinking to introduce new constructor like ScheduledFiber.new
> or something like that (maybe that name is not suitable, too). I believe
> we shouldn't change the behavior just after creation.

`Fiber.scheduler.add_auto_fiber{ ... }` (naming is not fixed) (operation
for scheduler) is my first idea.

-- 
// SASADA Koichi at atdot dot net

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread