All Packages This Package Class Hierarchy Class Search Index
Class utah.npm.core.Mutex
java.lang.Object
|
+----utah.npm.core.Lockable
|
+----utah.npm.core.NPMObject
|
+----utah.npm.core.Refable
|
+----utah.npm.core.Mutex
public final class Mutex
extends utah.npm.core.Refable
{
// Fields 2
private Link owner_;
private Lock s_mutex_;
// Constructors 2
public Mutex();
public Mutex(int);
// Methods 8
static String typeName();
public void destroy();
public void lock();
void s_init(int);
int s_type();
public String toString();
public boolean trylock();
public void unlock();
}
Implement an NPM Mutex object. Mutex objects are guaranteed
to exists in the typespace of all Processes and to work across
Process boundaries.
- Version:
- NPMJava 0.5.0 April, 1998
- Author:
-
Patrick Tullmann tullmann@cs.utah.edu
private Lock s_mutex_
The internal Lock object that actually implements the Mutex interface.
private Link owner_
A link to the current owner of the Mutex.
TODO: This information is duplicated at every level of the
lock implmenetation.
public Mutex()
public Mutex(int hashCode)
void s_init(int hashCode)
- Overrides:
- s_init in class Refable
public void destroy()
- Overrides:
- destroy in class Refable
public void lock()
public void unlock()
public boolean trylock()
public String toString()
- Overrides:
- toString in class NPMObject
static String typeName()
- Overrides:
- typeName in class NPMObject
int s_type()
- Overrides:
- s_type in class NPMObject
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7