mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-29 03:57:08 +03:00
66d97267c7
This excludes all headers in /usr/include/dev because that directory is bonkers huge (18M). We can add these on an as-needed basis.
10 lines
245 B
C
Vendored
10 lines
245 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 (0x00)
|
|
#define _ATOMIC_LOCK_LOCKED (0xFF)
|
|
typedef unsigned char _atomic_lock_t;
|
|
|
|
#endif |