We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1099d28 commit 45b1a4bCopy full SHA for 45b1a4b
libc/include/llvm-libc-types/__barrier_type.h
@@ -9,6 +9,8 @@
9
#ifndef LLVM_LIBC_TYPES__BARRIER_TYPE_H
10
#define LLVM_LIBC_TYPES__BARRIER_TYPE_H
11
12
+#include <stdbool.h>
13
+
14
typedef struct __attribute__((aligned(8 /* alignof (Barrier) */))) {
15
unsigned expected;
16
unsigned waiting;
libc/include/llvm-libc-types/pthread_barrierattr_t.h
#ifndef LLVM_LIBC_TYPES_PTHREAD_BARRIERATTR_T_H
#define LLVM_LIBC_TYPES_PTHREAD_BARRIERATTR_T_H
typedef struct {
bool pshared;
} pthread_barrierattr_t;
0 commit comments