RTEMS Logo

RTEMS 4.9.4 On-Line Library


Condition Variable Manager pthread_cond_wait - Wait on a Condition Variable

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

11.4.9: pthread_cond_wait - Wait on a Condition Variable

CALLING SEQUENCE:

#include <pthread.h>

int pthread_cond_wait(
  pthread_cond_t *cond,
  pthread_mutex_t *mutex
);

STATUS CODES:

EINVAL
The specified condition variable or mutex is not initialized OR different mutexes were specified for concurrent pthread_cond_wait() and pthread_cond_timedwait() operations on the same condition variable OR the mutex was not owned by the current thread at the time of the call.

DESCRIPTION:

NOTES:


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation