- All Implemented Interfaces:
Monitor
-
-
Constructor Summary
Constructors
-
Method Summary
void
void
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
next_mon_id
private static long next_mon_id
-
-
-
Method Details
-
enter
public void enter()
- Specified by:
enter
in interface Monitor
-
exit
public void exit()
- Specified by:
exit
in interface Monitor
-
isOwned
public boolean isOwned()
- Specified by:
isOwned
in interface Monitor
-