mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 09:02:44 +02:00
We need to have a Thread lock to protect threading related operations, such as Thread::m_blocker which is used in Thread::block. Also, if a Thread::Blocker indicates that it should be unblocking immediately, don't actually block the Thread and instead return immediately in Thread::block.
6.3 KiB
6.3 KiB