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 -> 45

Search | Site Map

[ Questions or Comments ]

Lecture 6: Slide 45 of 61

Monitors (Cont.)
  • To allow a process to wait within the monitor, a condition variable must be declared, as:

     condition x, y;
  • Condition variable can only be used with the operations wait and signal.
    • The operation
      x.wait;
      means that the process invoking this operation is suspended until another process invokes
      x.signal;
    • The x.signal operation resumes exactly one suspended process. If no process is suspended, then the signal operation has no effect.

[ Questions or Comments ]

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

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:25 2001 by webmaster