Project

General

Profile

Actions

Feature #17470

closed

Introduce non-blocking `Timeout.timeout`

Added by ioquatix (Samuel Williams) almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Target version:
-
[ruby-core:101704]

Description

In this bug report, user complained that Timeout.timeout does not work correctly with scheduler: https://github.com/socketry/async-io/issues/43

We should introduce non-blocking timeout.

I propose the following:

rb_fiber_scheduler_with_timeout(VALUE scheduler, VALUE timeout, VALUE block)

We can directly modify Timeout.timeout to invoke this hook.


Related issues 1 (1 open0 closed)

Related to Ruby master - Feature #17363: TimeoutsAssignedko1 (Koichi Sasada)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0