mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
This patch generalizes the concept used in Piano to wake up the event loop so it can react to something happening on a secondary thread. Basically, there's a pipe who is always part of the file descriptor set we pass to select(), and calling wake() simply writes a little to that pipe.
8.7 KiB
8.7 KiB