mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
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).
32 KiB
32 KiB