Edoardo Vacchi
ea336061c2
Release CLI / Pre-release build (push) Has been cancelled
Release CLI / Pre-release test (macos-12) (push) Has been cancelled
Release CLI / Pre-release test (ubuntu-22.04) (push) Has been cancelled
Release CLI / Pre-release test (windows-2022) (push) Has been cancelled
Release CLI / Release (push) Has been cancelled
wasi: introduce platform.Select and use it for poll_oneoff ( #1346 )
...
The PR introduces the `platform.Select()` API, wrapping `select(2)` on POSIX and emulated in some cases on Windows. RATIONALE.md contains a full explanation of the approach followed in `poll_oneoff` to handle Stdin and the other types of file descriptors, and the clock subscriptions.
It also introduces an abstraction (`StdioFilePoller`) to allow the simulation of different scenarios (waiting for input, input ready, timeout expired, etc.) when unit-testing interactive input.
This closes #1317 .
Signed-off-by: Edoardo Vacchi <evacchi@users.noreply.github.com >
2023-04-18 16:31:34 +02:00
..
2023-03-28 12:48:24 +02:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-02-11 22:12:18 +09:00
2023-02-11 22:12:18 +09:00
2023-02-11 22:12:18 +09:00
2022-08-06 17:47:50 +08:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 14:46:32 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-03-01 13:28:57 +08:00
2023-04-18 16:31:34 +02:00
2023-03-09 13:14:09 +08:00
2023-03-09 13:14:09 +08:00
2023-03-22 07:47:57 +01:00
2023-03-09 13:14:09 +08:00
2023-03-09 13:14:09 +08:00
2023-03-22 07:47:57 +01:00
2023-04-17 14:03:35 +09:00
2023-04-17 14:03:35 +09:00
2023-04-17 14:03:35 +09:00
2023-04-17 14:03:35 +09:00
2023-03-22 07:47:57 +01:00
2023-03-23 08:09:21 +09:00
2023-03-22 14:46:32 +01:00
2023-03-22 14:46:32 +01:00
2023-03-23 08:09:21 +09:00
2023-03-14 10:20:44 +08:00
2023-03-05 16:11:36 +08:00
2023-03-05 16:11:36 +08:00
2023-02-14 08:33:18 +09:00
2023-02-14 08:33:18 +09:00
2023-02-14 09:03:34 +09:00
2023-04-17 14:03:35 +09:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-04-18 16:31:34 +02:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-04-18 16:31:34 +02:00
2023-02-14 15:28:12 +09:00
2023-02-14 15:28:12 +09:00
2023-03-29 11:23:38 +09:00
2023-02-14 21:38:24 +09:00
2023-03-29 11:23:38 +09:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00
2023-03-22 07:47:57 +01:00