1<assertions>
2  <assertion id="1" tag="ref:XSH6:31882:31883">
3  The pthread_barrierattr_init( ) function shall initialize a barrier attributes object attr
4  with the default value for all of the attributes defined by the implementation.
5  </assertion>
6
7  <assertion id="2" tag="ref:XSH6:31886:31888">
8  After a barrier attributes object has been used to initialize one or more barriers, any
9  function affecting the attributes object (including destruction) shall not affect any
10  previously initialized barrier.
11  </assertion>
12
13 <assertion id="3" tag="ref:XSH6:31890:31897">
14  If successful,
15  it shall return zero; otherwise, an error number shall be returned to indicate the error.
16  The pthread_barrierattr_init( ) function shall fail if:
17
18  [ENOMEM] Insufficient memory exists to initialize the barrier attributes object.
19
20  This function shall not return an error code of [EINTR].
21
22  </assertion>
23
24</assertions>
25
26