Example2 Application
Writeable starts true
Obj1 produces & invokes setData()
Data = val ‘A’, writable = false, notify(), exit
Obj1 produces & invokes setData()
Since writable is false, while-try-wait loop
Previous slide
Next slide
Back to first slide
View graphic version