diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-07-26 13:46:00 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-07-26 13:46:00 +0200 |
| commit | ab0841e82bcc895fd04f06eaead7753acced9227 (patch) | |
| tree | 6c1250f6a15e293fa5f07e20ce83a30dee03de8f | |
| parent | 15d38c630052f43c980bdea60723ce388077437f (diff) | |
| download | kernel-ab0841e82bcc895fd04f06eaead7753acced9227.tar.xz kernel-ab0841e82bcc895fd04f06eaead7753acced9227.zip | |
kstd: remove platform dependent asm
| -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 |
