Searched refs:barriers (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dbarrier.h52 int64_t barriers; member in struct:Barrier
73 return b->barriers == BARRIER_I_ABORTED || b->barriers == BARRIER_WE_ABORTED;
77 return b->barriers == BARRIER_THEY_ABORTED || b->barriers == BARRIER_WE_ABORTED;
81 return b->barriers == BARRIER_WE_ABORTED;
85 return b->barriers == BARRIER_I_ABORTED || b->barriers == BARRIER_THEY_ABORTED || b->barriers == BARRIER_WE_ABORTED;
H A Dbarrier.c39 * can now place barriers and wait for the other end to reach a random or
42 * barrier or the last barrier that you placed. This way, you can use barriers
43 * for one-way *and* full synchronization. Note that even-though barriers are
46 * possible to address barriers by their ID.
48 * Barrier-API: Both ends can place as many barriers via barrier_place() as
49 * they want and each pair of barriers on both sides will be implicitly linked.
52 * other side calls barrier_place(). No links between the barriers are
56 * barriers that are linked to a barrier we already placed. If the other side
57 * already placed more barriers than we did, barrier_sync_next() returns
60 * placed as many barriers vi
[all...]

Completed in 10 milliseconds