OAR

RTEMS 4.0.0 On-Line Library


pthread_detach

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

1.4.19: pthread_detach

CALLING SEQUENCE:

#include <pthread.h>

int pthread_detach(
  pthread_t   thread
);

STATUS CODES:

ESRCH
The thread specified is invalid.
EINVAL
The thread specified is not a joinable 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.


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-1998 OAR Corporation