Lines Matching refs:Barrier
30 typedef struct Barrier Barrier;
48 struct Barrier {
57 int barrier_create(Barrier *obj);
58 void barrier_destroy(Barrier *b);
60 DEFINE_TRIVIAL_CLEANUP_FUNC(Barrier*, barrier_destroy);
62 void barrier_set_role(Barrier *b, unsigned int role);
64 bool barrier_place(Barrier *b);
65 bool barrier_abort(Barrier *b);
67 bool barrier_wait_next(Barrier *b);
68 bool barrier_wait_abortion(Barrier *b);
69 bool barrier_sync_next(Barrier *b);
70 bool barrier_sync(Barrier *b);
72 static inline bool barrier_i_aborted(Barrier *b) {
76 static inline bool barrier_they_aborted(Barrier *b) {
80 static inline bool barrier_we_aborted(Barrier *b) {
84 static inline bool barrier_is_aborted(Barrier *b) {
88 static inline bool barrier_place_and_sync(Barrier *b) {