#include <pthread.h> int pthread_detach( pthread_t thread );
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.
Copyright © 1988-1998 OAR Corporation