Sponsored Content
Full Discussion: Doubling Up Warning
Contact Us Post Here to Contact Site Administrators and Moderators Doubling Up Warning Post 302928328 by Don Cragun on Thursday 11th of December 2014 12:48:11 AM
Old 12-11-2014
It appeared to me to be a reposting of the same issue.

I will reverse the infraction and reopen the new thread.
 
PTHREAD_EXIT(3) 					     Library Functions Manual						   PTHREAD_EXIT(3)

NAME
pthread_exit - terminate the calling thread SYNOPSIS
#include <pthread.h> void pthread_exit(void *retval); DESCRIPTION
pthread_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 VALUE
The pthread_exit function never returns. AUTHOR
Xavier Leroy <Xavier.Leroy@inria.fr> SEE ALSO
pthread_create(3), pthread_join(3). LinuxThreads PTHREAD_EXIT(3)
All times are GMT -4. The time now is 02:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy