summaryrefslogtreecommitdiff
path: root/src/shared/barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/barrier.h')
-rw-r--r--src/shared/barrier.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/barrier.h b/src/shared/barrier.h
index 7f76ec7910..53b4439fb2 100644
--- a/src/shared/barrier.h
+++ b/src/shared/barrier.h
@@ -57,7 +57,9 @@ struct Barrier {
int64_t barriers;
};
-int barrier_init(Barrier *obj);
+#define BARRIER_NULL {-1, -1, {-1, -1}, 0}
+
+int barrier_create(Barrier *obj);
void barrier_destroy(Barrier *b);
void barrier_set_role(Barrier *b, unsigned int role);