Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-06 | AK: Make timeval_add() and timeval_sub() take references. | Andreas Kling | |
2019-05-28 | LibC: Move struct timeval to sys/time.h. #POSIX | Andreas Kling | |
2019-05-18 | Kernel: Fix timeout support in select | Robin Burchell | |
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. |