Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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