summaryrefslogtreecommitdiff
path: root/AK/Userspace.h
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2020-08-03 09:43:19 -0600
committerAndreas Kling <kling@serenityos.org>2020-08-03 18:23:00 +0200
commitf4a5c9b6c2eb6c52fb02b8362f05e33e3e18b1d7 (patch)
treeb57902a850ffc73b4d702217c69463c44de05ec4 /AK/Userspace.h
parentdf52061cdbe880d96a01e8a1227917feaad1b87c (diff)
downloadserenity-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