100% Guaranteed Results


CS594d – Question 1 – Thread Creation Solved
$ 19.99
Category:

Description

5/5 – (1 vote)

Create a LoudHailer class that continually broadcasts (i.e. prints) a given word, and then takes a deep breath (i.e. sleeps) for 1 second.
Have 3 LoudHailer instances, each running on a separate thread, to broadcast the words “Good”, “Morning”, “Kolkata” respectively.

Question 2 – Thread Synchronisation

Using synchonisation mechanisms, have the 3 threads from Question #1 cooperate, so that “Good Morning Kolkata” is broadcast in sequence every time.

Question 3 – Thread Liveness
Simulate a long synchronised block by having the thread sleep for 3 seconds within the synchronised block / synchronised method.

Reviews

There are no reviews yet.

Be the first to review “CS594d – Question 1 – Thread Creation Solved”

Your email address will not be published. Required fields are marked *

Related products