diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-17 11:11:20 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-17 11:11:20 -0400 |
| commit | 13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8 (patch) | |
| tree | a15e55bc70c60d3faa053db3b7b9a17fe75589bc /arch/x86_64/lock.h | |
| parent | a783cc865f1f261c20f6ef55cb37d4839f519865 (diff) | |
| download | jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.tar.gz jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.tar.bz2 jove-kernel-13adbc58eb9f5eb5d6f0e4454bd005e9adbb47c8.zip | |
make syscall use non-locking mutexes
Diffstat (limited to 'arch/x86_64/lock.h')
| -rw-r--r-- | arch/x86_64/lock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/lock.h b/arch/x86_64/lock.h index 609ea39..3592ea1 100644 --- a/arch/x86_64/lock.h +++ b/arch/x86_64/lock.h @@ -4,6 +4,8 @@ #include <stdatomic.h> void take_mutex(atomic_flag *lock); +int try_take_mutex(atomic_flag *lock); + void release_mutex(atomic_flag *lock); #endif |
