Code Example: Printer
class Printer { private Scheduler sched = new Scheduler(); public void print(JournalEntry j) { try { sched.enter(j); ... } catch (InterruptedException e) { } //try sched.done(); } // print(JournalEntry)} // class Printer
Previous slide
Next slide
Back to first slide
View graphic version