1 <assertions>
2  <assertion id="1" tag="ref:XSH6:31763:31764">
3  The pthread_barrier_destroy( ) function shall destroy the barrier referenced by barrier and 
4  release any resources used by the barrier.
5  </assertion>
6
7  <assertion id="2" tag="ref:XSH6:31789:31793">
8  The pthread_barrier_destroy( ) function may fail if:
9  [EBUSY] The implementation has detected an attempt to destroy a barrier while it is in
10  use (for example, while being used in a pthread_barrier_wait( ) call) by another
11  thread.
12  [EINVAL] The value specified by barrier is invalid.
13  </assertion>
14
15  <assertion id="3" tag="ref:XSH6:31786:31787">
16  Upon successful completion, these functions shall return zero; otherwise, an error number shall
17  be returned to indicate the error.
18
19  These functions shall not return an error code of EINTR.
20  </assertion>
21
22</assertions>
23
24