home *** CD-ROM | disk | FTP | other *** search
-
-
-
- pppptttthhhhrrrreeeeaaaadddd____jjjjooooiiiinnnn((((3333PPPP)))) pppptttthhhhrrrreeeeaaaadddd____jjjjooooiiiinnnn((((3333PPPP))))
-
-
-
- NNNNAAAAMMMMEEEE
- pthread_join - wait for thread termination
-
- CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<pppptttthhhhrrrreeeeaaaadddd....hhhh>>>>
-
- iiiinnnntttt pppptttthhhhrrrreeeeaaaadddd____jjjjooooiiiinnnn((((pppptttthhhhrrrreeeeaaaadddd____tttt tttthhhhrrrreeeeaaaadddd,,,, vvvvooooiiiidddd ********rrrreeeettttvvvvaaaallll))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _p_t_h_r_e_a_d__j_o_i_n() function waits for the thread identified by _t_h_r_e_a_d to
- terminate. If _r_e_t_v_a_l is not zero, then it will be set to the exit value
- of the thread [see _p_t_h_r_e_a_d__e_x_i_t(), _p_t_h_r_e_a_d__c_a_n_c_e_l()]. Only one thread
- may wait for another at one time.
-
- A detached thread [see _p_t_h_r_e_a_d__d_e_t_a_c_h()] may not be joined. A successful
- join will automatically detach the target thread. However,
- _p_t_h_r_e_a_d__j_o_i_n() is a cancellation point and if the joiner is cancelled,
- the target thread remains undetached and can be the target of another
- _p_t_h_r_e_a_d__j_o_i_n(). If a thread becomes detached after another thread is
- waiting for it, the waiting thread is awoken and returns an error.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- On success _p_t_h_r_e_a_d__j_o_i_n() returns zero; otherwise an error number is
- returned:
-
- [[[[EEEESSSSRRRRCCCCHHHH]]]] The _t_h_r_e_a_d parameter does not identify a thread.
-
- [[[[EEEEIIIINNNNVVVVAAAALLLL]]]] The thread identified by _t_h_r_e_a_d is not joinable (it is
- detached).
-
- [[[[EEEEDDDDEEEEAAAADDDDLLLLKKKK]]]] The thread identified by _t_h_r_e_a_d is the calling thread.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- pthread_exit(3P), pthread_cancel(3P), pthread_detach(3P).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-