Guest User

Untitled

a guest
Apr 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. rc = pthread_create(&thread, NULL, threadfunc, NULL);
  2. checkResults("pthread_create()n", rc);
  3.  
  4. printf("Wait for the thread to exitn");
  5. rc = pthread_join(thread, &status);
Add Comment
Please, Sign In to add comment