ladybird/Libraries/LibCore
stasoid 2bfed2e417 LibCore: Check for all events in EventLoopImplementationWindows::pump
This fixes the problem when none of the timers or notifiers get
executed if wake() is called frequently.

Note that calling WaitForMultipleObjects repeatedly until it fails
will not work because rapidly firing timer can get all the attention.
That's why I check every event individually with WaitForSingleObject.

This behavior matches EventLoopImplementationUnix.
2025-04-10 19:02:03 -06:00
..
Platform
AnonymousBuffer.cpp
AnonymousBuffer.h
AnonymousBufferWindows.cpp LibCore: Consistently treat file descriptors as handles on Windows 2025-02-05 19:27:47 -07:00
ArgsParser.cpp LibCore+LibJS+LibWasm: Always use a real format string 2025-04-08 20:00:18 -04:00
ArgsParser.h
CMakeLists.txt Meta+LibCore: Stop linking against LibCrypt 2025-04-08 09:13:33 +02:00
Command.cpp Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
Command.h
ConfigFile.cpp LibCore: Fix ConfigFile.cpp compilation on Windows 2024-11-19 22:07:01 -07:00
ConfigFile.h
DateTime.cpp
DateTime.h Everywhere: Remove sv suffix from format string literals 2025-04-08 20:00:18 -04:00
DeferredInvocationContext.h
Directory.cpp LibCore: Port Directory to Windows 2024-11-19 22:07:01 -07:00
Directory.h LibCore: Port Directory to Windows 2024-11-19 22:07:01 -07:00
DirectoryEntry.cpp
DirectoryEntry.h
DirIterator.cpp
DirIterator.h
ElapsedTimer.cpp
ElapsedTimer.h LibCore: Remove deprecated ElapsedTimer::elapsed() 2024-11-23 19:20:03 +01:00
Environment.cpp
Environment.h
Event.cpp
Event.h
EventLoop.cpp LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventLoop.h LibCore: Add swift bindings for EventLoop as an Executor and Actor 2025-03-15 21:51:22 -06:00
EventLoopExecutor.swift LibCore: Add swift bindings for EventLoop as an Executor and Actor 2025-03-15 21:51:22 -06:00
EventLoopImplementation.cpp LibCore: Port EventLoop to Windows 2024-11-14 11:18:38 -07:00
EventLoopImplementation.h LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventLoopImplementationUnix.cpp LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventLoopImplementationUnix.h LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventLoopImplementationWindows.cpp LibCore: Check for all events in EventLoopImplementationWindows::pump 2025-04-10 19:02:03 -06:00
EventLoopImplementationWindows.h LibCore: Remove unused methods from EventLoop 2025-01-30 15:34:02 -07:00
EventReceiver.cpp
EventReceiver.h LibCore: Make EventReceiver ref counting use atomics 2024-12-26 13:45:10 +01:00
EventSwift.h LibCore: Add swift bindings for EventLoop as an Executor and Actor 2025-03-15 21:51:22 -06:00
EventSwift.mm LibCore+Meta: Un-break Swift build on Linux 2025-03-18 17:15:08 -06:00
File.cpp
File.h
FileWatcher.h Everywhere: Include HashMap only where it's actually used 2024-12-09 12:31:16 +01:00
FileWatcherLinux.cpp
FileWatcherMacOS.mm AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
FileWatcherUnimplemented.cpp
Forward.h
IOSurface.cpp
IOSurface.h
LocalServer.cpp LibCore: Remove SessionManagement utilities 2024-11-26 11:00:48 +01:00
LocalServer.h LibCore: Remove SessionManagement utilities 2024-11-26 11:00:48 +01:00
MachPort.cpp
MachPort.h
MappedFile.cpp LibCore: Port MappedFile to Windows 2024-11-26 10:00:11 +01:00
MappedFile.h
MimeData.cpp Everywhere: Remove some use of the URL constructors 2025-02-19 08:01:35 -05:00
MimeData.h
NetworkResponse.h
Notifier.cpp
Notifier.h LibCore: Fix pthread-related errors on Windows 2024-11-29 10:50:00 +01:00
Process.cpp Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
Process.h LibCore: Implement System::current_executable_path on Windows 2025-03-19 20:25:24 -06:00
ProcessWindows.cpp LibCore: Correctly pass arguments with spaces to Process on Windows 2025-02-06 15:15:16 -07:00
Promise.h LibCore: Mark the lambda in Promise::when_resolved as mutable 2025-03-09 11:14:20 -04:00
Proxy.h LibURL: Replace Host's Empty state with making Url's Host optional 2024-11-30 12:07:39 +01:00
Resource.cpp
Resource.h
ResourceImplementation.cpp LibCore: Add S_ISDIR, S_ISREG to System.h on Windows 2025-02-12 18:42:05 -07:00
ResourceImplementation.h
ResourceImplementationFile.cpp LibCore: Add S_ISDIR, S_ISREG to System.h on Windows 2025-02-12 18:42:05 -07:00
ResourceImplementationFile.h
SharedCircularQueue.h LibCore: Port SharedCircularQueue to Windows 2024-12-08 17:25:40 -07:00
Socket.cpp LibCore: Implement System::set_close_on_exec 2025-03-19 20:25:24 -06:00
Socket.h LibCore: Don't discard subsequent results in Socket::resolve_host 2025-02-28 15:14:35 +01:00
SocketAddress.h AK+Meta+LibCore+Tests: Remove unused SipHash implementation 2025-04-06 01:47:50 +02:00
SocketAddressWindows.h LibCore: Implement System::socketpair on Windows 2025-02-14 09:38:59 -07:00
SocketpairWindows.cpp LibCore: Implement System::socketpair on Windows 2025-02-14 09:38:59 -07:00
SocketWindows.cpp LibCore: Implement System::set_close_on_exec 2025-03-19 20:25:24 -06:00
StandardPaths.cpp Everywhere: Remove sv suffix from format string literals 2025-04-08 20:00:18 -04:00
StandardPaths.h
System.cpp LibCore: Implement System::set_close_on_exec 2025-03-19 20:25:24 -06:00
System.h LibCore: Implement System::set_close_on_exec 2025-03-19 20:25:24 -06:00
SystemServerTakeover.cpp LibCore: Port SystemServerTakeover.cpp to Windows 2025-02-06 15:25:14 -07:00
SystemServerTakeover.h
SystemWindows.cpp LibCore: Implement System::set_close_on_exec 2025-03-19 20:25:24 -06:00
TCPServer.cpp
TCPServer.h
ThreadedPromise.h Everywhere: Run clang-format 2024-12-28 05:39:32 -08:00
ThreadEventQueue.cpp
ThreadEventQueue.h
Timer.cpp
Timer.h
TimeZoneWatcher.h
TimeZoneWatcherLinux.cpp
TimeZoneWatcherMacOS.mm
TimeZoneWatcherUnimplemented.cpp
UDPServer.cpp
UDPServer.h
Version.cpp LibCore: Remove ErrorOr return type from read_long_version_string 2025-02-13 08:27:02 -05:00
Version.h LibCore: Remove ErrorOr return type from read_long_version_string 2025-02-13 08:27:02 -05:00