diff options
author | Tom <tomut@yahoo.com> | 2020-08-03 09:43:19 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-03 18:23:00 +0200 |
commit | f4a5c9b6c2eb6c52fb02b8362f05e33e3e18b1d7 (patch) | |
tree | b57902a850ffc73b4d702217c69463c44de05ec4 /AK/Userspace.h | |
parent | df52061cdbe880d96a01e8a1227917feaad1b87c (diff) | |
download | serenity-f4a5c9b6c2eb6c52fb02b8362f05e33e3e18b1d7.zip |
Kernel: Consolidate timeout logic
Allow passing in an optional timeout to Thread::block and move
the timeout check out of Thread::Blocker. This way all Blockers
implicitly support timeouts and don't need to implement it
themselves. Do however allow them to override timeouts (e.g.
for sockets).
Diffstat (limited to 'AK/Userspace.h')
0 files changed, 0 insertions, 0 deletions