1 /* $OpenBSD: spinlock.h,v 1.2 2021/05/12 01:20:52 jsg Exp $ */ 2 3 #ifndef _MACHINE_SPINLOCK_H_ 4 #define _MACHINE_SPINLOCK_H_ 5 6 #define _ATOMIC_LOCK_UNLOCKED (0) 7 #define _ATOMIC_LOCK_LOCKED (1) 8 typedef int _atomic_lock_t; 9 10 #endif 11
1 /* $OpenBSD: spinlock.h,v 1.2 2021/05/12 01:20:52 jsg Exp $ */ 2 3 #ifndef _MACHINE_SPINLOCK_H_ 4 #define _MACHINE_SPINLOCK_H_ 5 6 #define _ATOMIC_LOCK_UNLOCKED (0) 7 #define _ATOMIC_LOCK_LOCKED (1) 8 typedef int _atomic_lock_t; 9 10 #endif 11