ladybird/Kernel/Tasks
Tom da5cc34ebb Kernel: Fix some issues related to fixes and block conditions
Fix some problems with join blocks where the joining thread block
condition was added twice, which lead to a crash when trying to
unblock that condition a second time.

Deferred block condition evaluation by File objects were also not
properly keeping the File object alive, which lead to some random
crashes and corruption problems.

Other problems were caused by the fact that the Queued state didn't
handle signals/interruptions consistently. To solve these issues we
remove this state entirely, along with Thread::wait_on and change
the WaitQueue into a BlockCondition instead.

Also, deliver signals even if there isn't going to be a context switch
to another thread.

Fixes #4336 and #4330
2020-12-12 21:28:12 +01:00
..
FinalizerTask.cpp Kernel: Fix some issues related to fixes and block conditions 2020-12-12 21:28:12 +01:00
FinalizerTask.h Kernel: Move sync and finalization tasks into their own files 2020-04-08 17:19:46 +02:00
SyncTask.cpp Kernel: Move some time related code from Scheduler into TimeManagement 2020-11-30 13:17:02 +01:00
SyncTask.h Kernel: Move sync and finalization tasks into their own files 2020-04-08 17:19:46 +02:00