diff options
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/spinlock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/include/sys/spinlock.h b/sys/include/sys/spinlock.h index b416152..140addc 100644 --- a/sys/include/sys/spinlock.h +++ b/sys/include/sys/spinlock.h @@ -44,6 +44,9 @@ void spinlock_release(struct spinlock *lock); int spinlock_try_acquire(struct spinlock *lock); int spinlock_usleep(struct spinlock *lock, size_t usec_max); +/* System-wide locking (be careful!!) */ +int syslock(void); +void sysrel(void); #endif #endif /* !_SYS_SPINLOCK_H_ */ |