Lines Matching full:barrier
3 uses of the barrier functions shown. */
36 /* initialise a barrier with a zero count */
37 fprintf(stderr, "\ninitialise a barrier with zero count\n");
41 /* initialise a barrier twice */
42 fprintf(stderr, "\ninitialise a barrier twice\n");
47 /* initialise a barrier which has threads waiting on it.
49 fprintf(stderr, "\ninitialise a barrier which has threads waiting on it\n");
52 /* create a thread, whose only purpose is to block on the barrier */
59 /* destroy a barrier that has threads waiting at it */
60 fprintf(stderr, "\ndestroy a barrier that has waiting threads\n");
64 /* create a thread, whose only purpose is to block on the barrier */
71 /* destroy a barrier that was never initialised. This is a bit
72 tricky, in that we have to fill the barrier with bytes which
76 fprintf(stderr, "\ndestroy a barrier that was never initialised\n");