RTEMS Logo

RTEMS 4.10.2 On-Line Library


Condition Variable Manager pthread_cond_timedwait - Wait with Timeout a Condition Variable

PREV UP next Bookshelf RTEMS POSIX API User's Guide

11.4.10: pthread_cond_timedwait - Wait with Timeout a Condition Variable

CALLING SEQUENCE:

#include <pthread.h>

int pthread_cond_timedwait(
  pthread_cond_t        *cond,
  pthread_mutex_t       *mutex,
  const struct timespec *abstime
);

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.
ETIMEDOUT
The specified time has elapsed without the condition variable being satisfied.

DESCRIPTION:

NOTES:


PREV UP next Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2008 OAR Corporation