diff options
author | Tom <tomut@yahoo.com> | 2020-11-15 11:58:19 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-30 13:17:02 +0100 |
commit | 6cb640eebaf40acbd505bcfdb0dee8e99fb77223 (patch) | |
tree | 59df685d35fbc30cde064ad6a71479aadd66aeec /Ports/openssh | |
parent | e0e26c6c679cad38c809ff3d898d135e505c67ff (diff) | |
download | serenity-6cb640eebaf40acbd505bcfdb0dee8e99fb77223.zip |
Kernel: Move some time related code from Scheduler into TimeManagement
Use the TimerQueue to expire blocking operations, which is one less thing
the Scheduler needs to check on every iteration.
Also, add a BlockTimeout class that will automatically handle relative or
absolute timeouts as well as overriding timeouts (e.g. socket timeouts)
more consistently.
Also, rework the TimerQueue class to be able to fire events from
any processor, which requires Timer to be RefCounted. Also allow
creating id-less timers for use by blocking operations.
Diffstat (limited to 'Ports/openssh')
0 files changed, 0 insertions, 0 deletions