Example3
Eventually, Obj1 invokes relinquish()
inUse = false, notify()
Waiting Obj2 gets to go
Falls out of while-try-wait loop
inUse == false, set inUse = true, end method
Obj3 still waiting
Previous slide
Next slide
Back to first slide
View graphic version