summaryrefslogtreecommitdiff
path: root/Kernel/Thread.h
diff options
context:
space:
mode:
authorTom <tomut@yahoo.com>2021-07-15 19:38:07 -0600
committerAndreas Kling <kling@serenityos.org>2021-07-16 20:30:04 +0200
commit0536a4ff413e8bf9f81ca313ef7a67e345f39be4 (patch)
tree949ee221b5187ade8bab158d5d925b5418dfe315 /Kernel/Thread.h
parent710cf14c55d5480a2b4f44c3b12c96315dcec8d5 (diff)
downloadserenity-0536a4ff413e8bf9f81ca313ef7a67e345f39be4.zip
Kernel: Release big lock when blocking on another lock
When blocking on a Lock other than the big lock and we're holding the big lock, we need to release the big lock first. This fixes some deadlocks where a thread blocks while holding the big lock, preventing other threads from getting the big lock in order to unblock the waiting thread.
Diffstat (limited to 'Kernel/Thread.h')
0 files changed, 0 insertions, 0 deletions