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