Central Queensland Univeristy

MyInfocom

Faculty of Informatics and Communication

Olive - 85349 Home No Audio Previous Slide Lecture Home Previous Slide 85349 Help 85349 Study Schedule

You are here: 85349 -> Resources -> Lectures -> 6 -> 50

Search | Site Map

[ Questions or Comments ]

Lecture 6: Slide 50 of 61

Monitor Implementation (Cont.)
  • Conditional­wait construct: x.wait(c);
    • c - integer expression evaluated when the wait operation is executed.
    • value of c (priority number) stored with the name of the process that is suspended.
    • when x.signal is executed, process with smallest associated priority number is resumed next.
  • Check two conditions to establish correctness of system:
    • User processes must always make their calls on the monitor in a correct sequence.
    • Must ensure that an uncooperative process does not ignore the mutual­exclusion gateway provided by the monitor, and try to access the shared resource directly , without using the access protocols.

[ Questions or Comments ]

You are here: 85349 -> Resources -> Lectures -> 6 -> 50

Search | Site Map

Olive - 85349 Home No Audio Previous slide Lecture home Next slide 85349 Help 85349 Study Schedule
Edit | © Central Queensland University
Last modified: Mon Apr 2 15:57:30 2001 by webmaster