barrier_inc

Increments the barrier count.

Library:LibC
Classification:Other
Service:Synchronization

Syntax

  #include <synch.h>
   
  int  barrier_inc  (
     barrier_t   *bp );
  

Parameters

bp

(IN) Points to the barrier.

Return Values

If successful, returns zero; otherwise, returns -1 and sets errno to the following:

Decimal

Constant

Description

105

ENOCONTEXT

The calling thread has no context.

Remarks

The barrier_inc function increases, by one, the number of threads that must reach the barrier.

See Also