Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. 3. Provide a pseudo-program that creates a new thread which waits for the main thread to print “hello there\n” before printing “hello as well!\n”. Note that the main thread must not print anything before creating the new thread. As well, make sure that the child thread is properly terminated before the main thread exits.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement