Package es.upm.babel.cclib
Class Monitor.Cond
- java.lang.Object
-
- es.upm.babel.cclib.Monitor.Cond
-
- Enclosing class:
- Monitor
public class Monitor.Cond extends java.lang.Object
Conditions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
await()
The thread that invokes this method will block until signalled.void
signal()
Signal (and continue) the first thread blocked in the condition.int
waiting()
Number of threads waiting in this Cond.
-