NAME pthread_exit - terminate calling thread LIBRARY POSIX threads library ( libpthread , -lpthread ) SYNOPSIS #include [[noreturn ... void pthread_exit(void * retval ); DESCRIPT…following ways: • It calls pthread_exit (3), specifying an exit status value that is available ... routine (). This is equivalent to calling pthread_exit (3) with the value supplie…that the target thread supplied to pthread_exit (3)) into the location pointed ... pthread_create (3), pthread_detach (3), pthread_exit (3), pthread_tryjoin_np (3), pthreadsthread is terminated. (See pthread_exit (3).) The above steps happen asynchronously with respect ... cleanup_push (3), pthread_create (3), pthread_exit (3), pthread_join (3), pthre…When a thread terminates via pthread_exit or by cancelation, destr_function is called with ... ALSO pthread_create(3), pthread_exit(3), pthread_testcancel(3). EXAMPLE The following…When a thread terminates via pthread_exit or by cancelation, destr_function is called with ... ALSO pthread_create(3), pthread_exit(3), pthread_testcancel(3). EXAMPLE The following…When a thread terminates via pthread_exit or by cancelation, destr_function is called with ... ALSO pthread_create(3), pthread_exit(3), pthread_testcancel(3). EXAMPLE The following…When a thread terminates via pthread_exit or by cancelation, destr_function is called with ... ALSO pthread_create(3), pthread_exit(3), pthread_testcancel(3). EXAMPLE The following…pthread_cancel (3), pthread_create (3), pthread_exit (3), pthread_join (3), pthreadserror */ } SEE ALSO clock_gettime (2), pthread_exit (3), pthread_join (3), timespec (3), pthreadsWhen a thread terminates by calling pthread_exit (3), all clean-up handlers are executedWhen a thread terminates by calling pthread_exit (3), all clean-up handlers are executederror */ } SEE ALSO clock_gettime (2), pthread_exit (3), pthread_join (3), timespec (3), pthreadsLocked. Now exiting without unlocking.\n"); pthread_exit(NULL); } int main(void) { pthreadLocked. Now exiting without unlocking.\n"); pthread_exit(NULL); } int main(void) { pthreadLocked. Now exiting without unlocking.\n"); pthread_exit(NULL); } int main(void) { pthreadLocked. Now exiting without unlocking.\n"); pthread_exit(NULL); } int main(void) { pthread