mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibCore: Signal an event to queue a wake completion packet on Windows
The initial IOCP event loop implementation adjusted wake() to manually queue a completion packet onto the current threads IOCP. This caused us to now be dependent on the current threads IOCP, when the previous behaviour did not depend on any data from the thread that was waking the event loop. Restoring that old behaviour allows https://hardwaretester.com/gamepad to be loaded again.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
540bbae480
commit
d5e5dbdf3d
Notes:
github-actions[bot]
2025-11-18 17:50:49 +00:00
Author: https://github.com/ayeteadoe Commit: https://github.com/LadybirdBrowser/ladybird/commit/d5e5dbdf3de Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6838 Reviewed-by: https://github.com/R-Goc ✅ Reviewed-by: https://github.com/gmta ✅
@@ -48,7 +48,8 @@ private:
|
||||
bool m_exit_requested { false };
|
||||
int m_exit_code { 0 };
|
||||
|
||||
void const* m_wake_completion_key;
|
||||
// The wake event handle of this event loop needs to be accessible from other threads.
|
||||
void*& m_wake_event;
|
||||
};
|
||||
|
||||
using EventLoopManagerPlatform = EventLoopManagerWindows;
|
||||
|
||||
Reference in New Issue
Block a user