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