diff options
Diffstat (limited to 'src/shared/barrier.h')
-rw-r--r-- | src/shared/barrier.h | 4 |
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); |