a Future that completes once the barrier is set
a Future of next that only evaluates after the barrier is set
TRUE if the barrier is set
register a callback that is triggered after the barrier is set. If the barrier is already set then f is executed immediately
Loop until set
A trait for a barrier that can be used by callers to synchronize on an event by waiting for the barrier to be set.