OAR

RTEMS 4.0.0 On-Line Library


pthread_join

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

1.4.20: pthread_join

CALLING SEQUENCE:

#include <pthread.h>

int pthread_join(
  pthread_t   thread,
  void      **value_ptr
);

STATUS CODES:

ESRCH
The thread specified is invalid.
EINVAL
The thread specified is not a joinable thread.
EDEADLK
A deadlock was detected or thread is the calling thread.

DESCRIPTION:

NOTES:

If any threads have previously joined with the specified thread, then they will remain joined with that thread. Any subsequent calls to pthread_join on the specified thread will fail.

If value_ptr is NULL, then no value is returned.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-1998 OAR Corporation