Query: pthread_exit
OS: redhat
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PTHREAD_EXIT(3) Library Functions Manual PTHREAD_EXIT(3)NAMEpthread_exit - terminate the calling threadSYNOPSIS#include <pthread.h> void pthread_exit(void *retval);DESCRIPTIONpthread_exit terminates the execution of the calling thread. All cleanup handlers that have been set for the calling thread with pthread_cleanup_push(3) are executed in reverse order (the most recently pushed handler is executed first). Finalization functions for thread-specific data are then called for all keys that have non- NULL values associated with them in the calling thread (see pthread_key_create(3)). Finally, execution of the calling thread is stopped. The retval argument is the return value of the thread. It can be consulted from another thread using pthread_join(3).RETURN VALUEThe pthread_exit function never returns.AUTHORXavier Leroy <Xavier.Leroy@inria.fr>SEE ALSOpthread_create(3), pthread_join(3). LinuxThreads PTHREAD_EXIT(3)
Related Man Pages |
---|
pthread_exit(3) - linux |
pthread_join(3) - redhat |
pthread_exit(3) - debian |
pthread_exit(3) - x11r4 |
pthread_exit(3) - php |
Similar Topics in the Unix Linux Community |
---|
FATAL:exception occured with pthread_exit() |
pthread_exit and pthread_join usage |
c calling conventions |
HOWTO: Linux multihomed dns client - reverse lookup |
pthread_exit query |