kleines Filmröllchen
704bb361bb
LibCore: Allow event loops on other threads to wake up
...
Because the wake pipe is thread-local, it was previously not possible
to wake an event loop across a thread. Therefore, this commit
rearchitects event loop waking by making the wake function a member of
the event loop itself and having it keep a pointer to its thread's wake
pipe. The global wake() function calls wake on the current thread's
event loop.
This also fixes a bug in BackgroundAction: it should wake the event loop
it was created on, instead of the current thread's event loop.
2022-02-13 23:06:53 +01:00
..
2022-01-02 22:02:16 +01:00
2022-01-02 18:08:02 +01:00
2022-02-10 21:35:17 +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-02-06 17:28:17 +00: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
2022-01-28 20:19:05 +00:00
2022-01-28 20:19:05 +00:00
2022-01-04 07:38:42 +00:00
2021-11-23 22:58:05 +01:00
2022-02-13 23:02:57 +01:00
2022-02-13 23:06:53 +01:00
2022-02-13 23:06:53 +01:00
2022-01-24 07:50:32 +00:00
2022-01-01 17:33:43 +00:00
2022-02-06 13:10:10 +01:00
2021-11-30 23:34:40 +01:00
2022-01-21 18:34:24 +01:00
2022-01-21 18:34:24 +01:00
2022-01-24 22:36:09 +01:00
2022-01-24 22:36:09 +01:00
2021-12-12 14:06:38 +03:30
2022-02-06 10:28:19 +01:00
2022-01-15 13:29:48 +03:30
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-02-06 13:10:10 +01:00
2022-02-06 13:10:10 +01:00
2022-01-28 23:31:00 +01:00
2022-02-07 18:39:50 +01:00
2022-01-24 22:36:09 +01:00
2022-02-06 13:10:10 +01:00
2022-02-08 15:43:20 +01:00
2022-02-13 17:54:34 +00:00
2022-02-13 12:40:36 +01:00
2022-02-06 10:28:19 +01:00
2022-02-06 10:28:19 +01:00
2022-02-06 17:28:17 +00:00
2022-01-13 15:16:12 +03:30
2022-01-28 23:40:25 +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
2022-01-24 22:36:09 +01:00
2021-12-16 22:21:35 +03:30
2022-01-02 18:08:02 +01:00