mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-23 08:06:11 +00:00
Kernel: Convert BlockedSignal and BlockedLurking to the new Blocker mechanism
The last two of the old block states gone :)
This commit is contained in:
committed by
Andreas Kling
parent
750dbe986d
commit
d2ca91c024
@@ -242,7 +242,7 @@ extern "C" [[noreturn]] void init()
|
||||
current->process().set_priority(Process::LowPriority);
|
||||
for (;;) {
|
||||
Thread::finalize_dying_threads();
|
||||
current->block(Thread::BlockedLurking);
|
||||
current->block(*new Thread::SemiPermanentBlocker(Thread::SemiPermanentBlocker::Reason::Lurking));
|
||||
Scheduler::yield();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user