diff options
Diffstat (limited to 'libs/kstd')
| -rw-r--r-- | libs/kstd/kstd/mutex.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/kstd/kstd/mutex.cpp b/libs/kstd/kstd/mutex.cpp index c1c5b190..fbddf964 100644 --- a/libs/kstd/kstd/mutex.cpp +++ b/libs/kstd/kstd/mutex.cpp @@ -20,9 +20,7 @@ namespace kstd auto mutex::lock() -> void { while (!try_lock()) - { - asm volatile("nop"); - } + ; } auto mutex::try_lock() -> bool |
