diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2020-09-18 09:49:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-25 21:18:17 +0200 |
commit | 64cc3f51d0a1d4ddc68fe9e3b5da2834eac48dae (patch) | |
tree | 8088b0dfe9a558a28137b2168414371a4fe891b6 /Kernel/Lock.cpp | |
parent | fa62c5595e98a8d93d7a6e54b4eab45d9095a2c9 (diff) | |
download | serenity-64cc3f51d0a1d4ddc68fe9e3b5da2834eac48dae.zip |
Meta+Kernel: Make clang-format-10 clean
Diffstat (limited to 'Kernel/Lock.cpp')
-rw-r--r-- | Kernel/Lock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Lock.cpp b/Kernel/Lock.cpp index 1dd1bf6bf9..1aaad518cb 100644 --- a/Kernel/Lock.cpp +++ b/Kernel/Lock.cpp @@ -67,7 +67,7 @@ void Lock::lock(Mode mode) m_lock.store(false, AK::memory_order_release); return; } - } while (current_thread->wait_on(m_queue, m_name, nullptr, &m_lock, m_holder) == Thread::BlockResult::NotBlocked); + } while (current_thread->wait_on(m_queue, m_name, nullptr, &m_lock, m_holder) == Thread::BlockResult::NotBlocked); } else if (Processor::current().in_critical()) { // If we're in a critical section and trying to lock, no context // switch will happen, so yield. |