ladybird/LibCore
Robin Burchell df74a9222f Kernel: Fix timeout support in select
The scheduler expects m_select_timeout to act as a deadline. That is, it
should contain the time that a task should wake at -- but we were
directly copying the time from userspace, which meant that it always
returned virtually immediately.

At the same time, fix CEventLoop to not rely on the broken select behavior
by subtracting the current time from the time of the nearest timer.
2019-05-18 02:57:38 +02:00
..
.gitignore Introduce LibCore and move GElapsedTimer => CElapsedTimer. 2019-04-10 16:14:44 +02:00
CArgsParser.cpp LibCore: Move AK/ArgsParser to LibCore/CArgsParser 2019-05-17 15:49:37 +02:00
CArgsParser.h LibCore: Move AK/ArgsParser to LibCore/CArgsParser 2019-05-17 15:49:37 +02:00
CConfigFile.cpp LibCore: Add a CConfigFile class, a simple INI file parser. 2019-04-15 02:23:20 +02:00
CConfigFile.h LibCore: Add a CConfigFile class, a simple INI file parser. 2019-04-15 02:23:20 +02:00
CElapsedTimer.cpp Kernel: Fix timeout support in select 2019-05-18 02:57:38 +02:00
CElapsedTimer.h Introduce LibCore and move GElapsedTimer => CElapsedTimer. 2019-04-10 16:14:44 +02:00
CEvent.cpp LibCore: Move LibGUI/GObject to LibCore/CObject. 2019-04-10 17:01:54 +02:00
CEvent.h LibCore: Add CEventLoop and make LibGUI/GEventLoop inherit from it. 2019-04-10 17:30:58 +02:00
CEventLoop.cpp Kernel: Fix timeout support in select 2019-05-18 02:57:38 +02:00
CEventLoop.h CEventLoop: Protect the message queue with a Lock. 2019-04-29 15:57:49 +02:00
CFile.cpp LibCore: Make it possible to create a CFile for an existing file descriptor. 2019-04-26 02:22:21 +02:00
CFile.h LibCore: Make it possible to create a CFile for an existing file descriptor. 2019-04-26 02:22:21 +02:00
CHttpJob.cpp AK: Add String::copy(BufferType) helper. 2019-04-20 14:13:40 +02:00
CHttpJob.h LibCore: Move HTTP classes from LibGUI to LibCore. 2019-04-10 22:28:10 +02:00
CHttpRequest.cpp LibCore: Move HTTP classes from LibGUI to LibCore. 2019-04-10 22:28:10 +02:00
CHttpRequest.h LibCore: Move HTTP classes from LibGUI to LibCore. 2019-04-10 22:28:10 +02:00
CHttpResponse.cpp LibCore: Move HTTP classes from LibGUI to LibCore. 2019-04-10 22:28:10 +02:00
CHttpResponse.h LibCore: Move HTTP classes from LibGUI to LibCore. 2019-04-10 22:28:10 +02:00
CIODevice.cpp LibCore/Userland: Introduce a simple tail implementation 2019-05-17 14:28:13 +02:00
CIODevice.h LibCore/Userland: Introduce a simple tail implementation 2019-05-17 14:28:13 +02:00
CLock.h CLock: Remove a redundant call to gettid(). 2019-05-01 19:11:08 +02:00
CNetworkJob.cpp LibCore: Move HTTP classes from LibGUI to LibCore. 2019-04-10 22:28:10 +02:00
CNetworkJob.h LibCore: Move HTTP classes from LibGUI to LibCore. 2019-04-10 22:28:10 +02:00
CNetworkResponse.cpp LibCore: Move HTTP classes from LibGUI to LibCore. 2019-04-10 22:28:10 +02:00
CNetworkResponse.h LibCore: Move HTTP classes from LibGUI to LibCore. 2019-04-10 22:28:10 +02:00
CNotifier.cpp LibCore: Prune remaining knowledge about LibGUI. 2019-04-12 00:03:21 +02:00
CNotifier.h LibCore: Move LibGUI/GNotifier to LibCore/CNotifier. 2019-04-10 17:35:43 +02:00
CObject.cpp CObject: add_child() should set the child's parent. 2019-05-05 01:09:49 +02:00
CObject.h LibCore+LibGUI: Make CObject child events synchronous. 2019-04-18 22:57:24 +02:00
CProcessStatisticsReader.cpp Added CProcessStatisticsReader to avoid having to parse /proc/all (#35) 2019-05-16 18:47:47 +02:00
CProcessStatisticsReader.h Added CProcessStatisticsReader to avoid having to parse /proc/all (#35) 2019-05-16 18:47:47 +02:00
CSocket.cpp LibCore: Using printf() inside CIODevices will now call CIODevice::printf(). 2019-05-10 18:20:54 +02:00
CSocket.h LibCore: Move GIODevice hierarchy from LibGUI to LibCore. 2019-04-10 20:22:23 +02:00
CSocketAddress.h LibCore: Move GIODevice hierarchy from LibGUI to LibCore. 2019-04-10 20:22:23 +02:00
CTCPSocket.cpp LibCore: Move GIODevice hierarchy from LibGUI to LibCore. 2019-04-10 20:22:23 +02:00
CTCPSocket.h LibCore: Move GIODevice hierarchy from LibGUI to LibCore. 2019-04-10 20:22:23 +02:00
CTimer.cpp LibCore: Add CTimer::restart() and make set_interval() take effect soon. 2019-04-18 04:38:04 +02:00
CTimer.h LibCore: Add CTimer::restart() and make set_interval() take effect soon. 2019-04-18 04:38:04 +02:00
install.sh Build: Install most headers to Root (and libcore.a/libgui.a) 2019-05-17 21:59:48 +02:00
Makefile Build: Install most headers to Root (and libcore.a/libgui.a) 2019-05-17 21:59:48 +02:00