zig/lib/libc/include/generic-openbsd/machine/spinlock.h
Alex Rønne Petersen 1311e997d4
libc: add openbsd 7.8 headers
This excludes all headers in /usr/include/dev because that directory is bonkers
huge (18M). We can add these on an as-needed basis.
2025-12-05 12:19:07 +01:00

10 lines
No EOL
229 B
C
Vendored

/* $OpenBSD: spinlock.h,v 1.3 2017/09/05 02:40:54 guenther Exp $ */
#ifndef _MACHINE_SPINLOCK_H_
#define _MACHINE_SPINLOCK_H_
#define _ATOMIC_LOCK_UNLOCKED (0)
#define _ATOMIC_LOCK_LOCKED (1)
typedef int _atomic_lock_t;
#endif