A barrier is a synchronization objest which can be used to syncronize a
15
group of session to a specific rendezvous by calling wait(). At which point
16
any session of the user may call signal() and all sessions being held by wait() are allowed to proceed.
15
group of sessions to a specific rendezvous by calling wait(). When wait() is called,
16
any session of the user may call signal(), allowing all sessions being held by wait() to proceed.
17
17
18
Barriers can optional be created with a limit so that once a set number of sessions have called wait() that all "waiters" are then allowed to proceed.
18
Barriers can optionally be created with a limit so that once a set number of sessions have called wait() that all "waiters" are then allowed to proceed.
19
19
20
20
The session that creates the barrier via create_barrier() is not allowed to