pthread_condattr_t

Contains condition variable attribute information.

Service:Synchronization

Structure

  #include <pthread.h>
  
  typedef struct
  {
     unsigned long   cattr_flags;
     void           *cattr_arg;
     int             cattr_spare1;
     int             cattr_spare2;
     char            cattr_name[31+1];
  } pthread_condattr_t;
  

Fields

cattr_flags

Specifies whether the condition variable can be shared across processes. NetWare does not currently support sharing. The default value is therefore PTHREAD_PROCESS_PRIVATE.

cattr_arg

Reserved.

cattr_spare1

Reserved.

cattr_spare2

Reserved.

cattr_name

Specifies the name of the condition variable.

Remarks

This structure must be initialized with the pthread_condattr_init function or the PTHREAD_CONDATTR_INITIALIZER macro before it can be used.