RTEMS Logo

RTEMS 4.6.4 On-Line Library


Condition Variable Manager pthread_cond_init - Initialize a Condition Variable

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

11.4.5: pthread_cond_init - Initialize a Condition Variable

CALLING SEQUENCE:

#include <pthread.h>

int pthread_cond_init(
  pthread_cond_t           *cond,
  const pthread_condattr_t *attr
);

STATUS CODES:

EAGAIN
The system lacked a resource other than memory necessary to create the initialize the condition variable object.
ENOMEM
Insufficient memory is available to initialize the condition variable object.
EBUSY
The specified condition variable has already been initialized.
EINVAL
The specified attribute value is invalid.

DESCRIPTION:

NOTES:


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2004 OAR Corporation