mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
LibCore: Use Core::System::pipe2 for creating the event loops waking FDs
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 07:25:39 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/a973fe13cb Pull-request: https://github.com/SerenityOS/serenity/pull/23560 Reviewed-by: https://github.com/ADKaster
@@ -59,7 +59,7 @@ private:
|
||||
int m_exit_code { 0 };
|
||||
|
||||
// The wake pipe of this event loop needs to be accessible from other threads.
|
||||
int (*m_wake_pipe_fds)[2];
|
||||
Array<int, 2>& m_wake_pipe_fds;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user