1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00
serenity/Libraries/LibCore
Andreas Kling c3379e3734 LibCore: Always wait_for_events() when pumping the event loop
This fixes an issue where continuously posting new events to the queue
would keep the event loop saturated, causing it to ignore notifiers.

Since notifiers are part of the big select(), we always have to call
wait_for_events() even if there are pending events. We're already smart
enough to select() without a timeout if we already have pending events.
2020-05-16 22:06:33 +02:00
..
ArgsParser.cpp Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
ArgsParser.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
CMakeLists.txt Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
ConfigFile.cpp LibCore: read_bool_entry parse "true" / "false" strings in config files 2020-04-23 11:04:25 +02:00
ConfigFile.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
DateTime.cpp LibCore: Add a primitive comparison function to DateTime 2020-05-07 10:23:58 +02:00
DateTime.h LibCore: Add a primitive comparison function to DateTime 2020-05-07 10:23:58 +02:00
DirIterator.cpp Misc: Replace "String(string_view)" with "string_view.to_string()" 2020-05-06 19:28:59 +02:00
DirIterator.h Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
ElapsedTimer.cpp LibCore: Use monotonic time when handling timers 2020-03-19 15:48:00 +01:00
ElapsedTimer.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Event.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Event.h LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
EventLoop.cpp LibCore: Always wait_for_events() when pumping the event loop 2020-05-16 22:06:33 +02:00
EventLoop.h LibCore: Fix timer expiration processing 2020-05-15 17:41:54 +02:00
File.cpp LibCore: Make Core::File::open() return a Result<NNRP<File>, String> 2020-04-21 16:19:18 +02:00
File.h LibCore: Make Core::File::open() return a Result<NNRP<File>, String> 2020-04-21 16:19:18 +02:00
Forward.h LibCore+LibHTTP: Move out the HTTP handler and add HTTPS 2020-05-02 12:24:10 +02:00
Gzip.cpp LibCore: Trim decompressed Gzip output to size 2020-04-28 09:32:33 +02:00
Gzip.h LibCore: Remove all remaining C prefix references 2020-03-07 01:33:53 +01:00
IODevice.cpp LibCore: Make IODevice::can_read_line() const 2020-05-15 09:50:48 +02:00
IODevice.h LibCore: Make IODevice::can_read_line() const 2020-05-15 09:50:48 +02:00
IODeviceStreamReader.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
LocalServer.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
LocalServer.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
LocalSocket.cpp LibCore: Remove all remaining C prefix references 2020-03-07 01:33:53 +01:00
LocalSocket.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
MimeData.cpp LibCore: Add Core::MimeData class 2020-02-14 13:17:26 +01:00
MimeData.h LibCore: Add Core::MimeData class 2020-02-14 13:17:26 +01:00
NetworkJob.cpp ProtocolServer: Implement and handle download progress 2020-05-03 12:59:26 +02:00
NetworkJob.h ProtocolServer: Implement and handle download progress 2020-05-03 12:59:26 +02:00
NetworkResponse.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
NetworkResponse.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Notifier.cpp LibCore: Add a forward declaration header 2020-02-14 23:31:18 +01:00
Notifier.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Object.cpp AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*) 2020-03-08 13:06:51 +01:00
Object.h LibCore: Add a way to set an individual Core::Object property remotely 2020-03-05 15:50:22 +01:00
ProcessStatisticsReader.cpp LibCore: Remove all remaining C prefix references 2020-03-07 01:33:53 +01:00
ProcessStatisticsReader.h LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
puff.c LibCore: Move puff() from LibDraw to LibCore 2019-11-23 23:43:37 +01:00
puff.h Meta: Remove some copyright headers added in error 2020-01-25 10:34:32 +01:00
Socket.cpp LibCore: Mark Socket::{common_,}connect() virtual and add a on_write 2020-05-02 12:24:10 +02:00
Socket.h LibCore: Mark Socket::{common_,}connect() virtual and add a on_write 2020-05-02 12:24:10 +02:00
SocketAddress.cpp LibCore: Move LogStream::operator<< overloads into cpp files 2020-02-15 00:58:52 +01:00
SocketAddress.h Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
StandardPaths.cpp LibCore: Add a standard downloads directory (~/Downloads) 2020-05-05 23:56:57 +02:00
StandardPaths.h LibCore: Add a standard downloads directory (~/Downloads) 2020-05-05 23:56:57 +02:00
SyscallUtils.h Userspace: Add missing #includes now that AK/StdLibExtras.h is smaller 2020-03-08 13:06:51 +01:00
TCPServer.cpp LibCore: TCP and UDP servers should parent Notifiers to themselves 2020-02-10 14:15:56 +01:00
TCPServer.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
TCPSocket.cpp LibCore: Remove all remaining C prefix references 2020-03-07 01:33:53 +01:00
TCPSocket.h LibCore: Remove a bunch of unnecessary forward declarations 2020-02-15 00:32:33 +01:00
Timer.cpp LibCore: Remove leading C from filenames 2020-02-06 15:04:03 +01:00
Timer.h LibCore: Add Core::Timer::create_single_shot() 2020-04-07 23:01:43 +02:00
UDPServer.cpp LibCore: Fix UDPServer up to properly receive data 2020-04-04 12:25:33 +02:00
UDPServer.h LibCore: Fix UDPServer up to properly receive data 2020-04-04 12:25:33 +02:00
UDPSocket.cpp LibCore: Rename Udp classes to UDP 2020-03-14 23:56:12 +01:00
UDPSocket.h LibCore: Rename Udp classes to UDP 2020-03-14 23:56:12 +01:00