Quiz 4

Questions relating to the Threading API covered in this chapter.

We'll cover the following...

Question # 1

Consider the program below:

mutex1 = Mutex.new
mutex2 = Mutex.new

cv = ConditionVariable.new

thread = Thread.new do
 
...