public class OrderedLock extends Object
Constructor and Description |
---|
OrderedLock() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
lock() |
int |
lock(AtomicWithDelay wrapper) |
void |
unlock(int myOrder) |
void |
unlock(int myOrder,
AtomicWithDelay wrapper) |
public int lock()
public int lock(AtomicWithDelay wrapper)
public void unlock(int myOrder)
public void unlock(int myOrder, AtomicWithDelay wrapper)
public void clear()
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.