kleines Filmröllchen
888faa3c9f
LibCore: Fix signal handling race condition in EventLoop
...
The event loop is responsible for handling POSIX signals while it's
running. The signal handler adds the signals to a wake pipe which is
then read after the select'ing code in wait_for_event. Problems happen,
however, when another signal comes in after the select wake: the signal
will interrupt the next syscall, the `read` from the wake pipe, and the
resulting EINTR in wait_for_event causes the program to crash. This is
undesirable. Instead, we want to retry reading as long as we're
interrupted.
2022-01-23 15:21:10 +01:00
..
2022-01-02 22:02:16 +01:00
2022-01-02 18:08:02 +01:00
2021-11-08 00:35:27 +01:00
2021-11-28 23:14:19 +01:00
2022-01-21 01:52:22 +01:00
2022-01-21 01:52:22 +01:00
2022-01-16 11:19:07 +01:00
2022-01-12 14:55:19 +01:00
2022-01-12 14:55:19 +01:00
2022-01-21 13:44:36 +01:00
2021-11-28 23:14:19 +01:00
2022-01-04 07:38:42 +00:00
2021-11-23 22:58:05 +01:00
2022-01-23 15:21:10 +01:00
2022-01-23 15:21:10 +01:00
2021-11-10 14:42:49 +01:00
2021-11-10 14:42:49 +01:00
2022-01-21 22:10:23 +01:00
2022-01-01 17:33:43 +00:00
2021-11-08 00:35:27 +01:00
2021-11-08 00:35:27 +01:00
2021-11-17 00:21:13 +01:00
2021-11-30 23:34:40 +01:00
2021-11-08 00:35:27 +01:00
2022-01-21 18:34:24 +01:00
2022-01-21 18:34:24 +01:00
2022-01-22 01:13:42 +03:30
2021-12-12 14:06:38 +03:30
2021-12-12 14:06:38 +03:30
2022-01-15 13:29:48 +03:30
2022-01-15 13:29:48 +03:30
2021-12-29 03:46:56 -08:00
2021-11-23 11:33:36 +01:00
2021-11-23 12:23:54 +01:00
2021-11-23 11:33:36 +01:00
2022-01-22 01:13:42 +03:30
2021-12-21 13:27:27 +01:00
2021-12-08 09:46:13 -08:00
2022-01-23 00:45:22 +00:00
2021-11-24 13:52:01 +01:00
2021-11-24 13:52:01 +01:00
2021-11-17 00:21:10 +01:00
2021-11-02 22:56:53 +01:00
2021-11-17 00:21:13 +01:00
2022-01-21 15:21:52 +01:00
2022-01-22 01:13:42 +03:30
2022-01-23 00:40:54 +00:00
2022-01-22 13:31:52 +02:00
2022-01-13 15:16:12 +03:30
2022-01-13 15:16:12 +03:30
2022-01-12 14:55:19 +01:00
2022-01-12 14:55:19 +01:00
2021-12-25 14:20:13 +01:00
2021-12-25 14:20:13 +01:00
2021-12-16 22:21:35 +03:30
2021-12-16 22:21:35 +03:30
2022-01-02 18:08:02 +01:00