1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00

LibCore: Remove unused EventLoopManager::wake()

Only EventLoopImplementation needs to know how to wake up.
This commit is contained in:
Andreas Kling 2023-04-26 19:00:22 +02:00 committed by Sam Atkins
parent 12c73915dc
commit f61947fa9e
5 changed files with 0 additions and 16 deletions

View file

@ -139,12 +139,6 @@ void EventLoopImplementationUnix::wake()
MUST(Core::System::write((*m_wake_pipe_fds)[1], { &wake_event, sizeof(wake_event) }));
}
void EventLoopManagerUnix::wake()
{
int wake_event = 0;
MUST(Core::System::write(ThreadData::the().wake_pipe_fds[1], { &wake_event, sizeof(wake_event) }));
}
void EventLoopManagerUnix::wait_for_events(EventLoopImplementation::PumpMode mode)
{
auto& thread_data = ThreadData::the();