Package | Description |
---|---|
locklib |
In locklib, a locking target is represented by a
Target . |
locklib.mutex |
The
mutex package implements the mutex locking
concepts in locklib. |
locklib.sx |
The
sx package provides support for SX locks. |
Modifier and Type | Method and Description |
---|---|
LockPolicy<LockType> |
LockManager.policy()
Obtains the current lock policy.
|
Constructor and Description |
---|
LockManager(LockPolicy<LockType> p,
LockPreChecker<LockType> pc,
WaitQueueFactory<LockType> factory)
Creates a new lock manager.
|
Modifier and Type | Class and Description |
---|---|
class |
MutexLockPolicy
Locking policy for mutex locking.
|
Modifier and Type | Class and Description |
---|---|
class |
SxLockPolicy
Locking policy for SX locking.
|
Copyright © 2015. All rights reserved.