9 Sep
2004
9 Sep
'04
6:49 a.m.
Hi In a thread A I want to wait until thread B finishes... pthread_join(B,NULL); FW_ASSERT(gThread_B_Finished==TRUE); Are there cases pthread_join doesn't work? regards, mvo _______________________________________________ darwin-development mailing list | darwin-development@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development Do not post admin requests to the list. They will be ignored. At the end of the thread function B, I put a global gThread_B_Finished Boolean to true... just for testing that pthread_join(B,NULL); really worked.... I notice that sometimes this global variable is false!!! Which means pthread_join doesn't always works!!!
7728
Age (days ago)
7728
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marc Van Olmen