|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.scheduler.RVMThread.BlockAdapter
org.jikesrvm.scheduler.RVMThread.HandshakeBlockAdapter
public static class RVMThread.HandshakeBlockAdapter
| Constructor Summary | |
|---|---|
RVMThread.HandshakeBlockAdapter()
|
|
| Method Summary | |
|---|---|
(package private) void |
clearBlockRequest(RVMThread t)
Clear any blocking requests. |
(package private) boolean |
hasBlockRequest(RVMThread t)
Does the thread have a request to block for this block adapter? |
(package private) boolean |
hasBlockRequest(RVMThread t,
int token)
Does the thread have a request to block associated with the given requestBlock() call? |
(package private) boolean |
isBlocked(RVMThread t)
Should the given thread be blocked for this block adapter? |
(package private) int |
requestBlock(RVMThread t)
Request that the thread block, for this block adapter, at its earliest convenience. |
(package private) void |
setBlocked(RVMThread t,
boolean value)
Specify that the thread is either blocked (value == true) or not blocked (value == false) for this block adapter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RVMThread.HandshakeBlockAdapter()
| Method Detail |
|---|
boolean isBlocked(RVMThread t)
RVMThread.BlockAdapter
isBlocked in class RVMThread.BlockAdapter
void setBlocked(RVMThread t,
boolean value)
RVMThread.BlockAdapter
setBlocked in class RVMThread.BlockAdapterint requestBlock(RVMThread t)
RVMThread.BlockAdapter
requestBlock in class RVMThread.BlockAdapterboolean hasBlockRequest(RVMThread t)
RVMThread.BlockAdapter
hasBlockRequest in class RVMThread.BlockAdapter
boolean hasBlockRequest(RVMThread t,
int token)
RVMThread.BlockAdapter
hasBlockRequest in class RVMThread.BlockAdaptervoid clearBlockRequest(RVMThread t)
RVMThread.BlockAdapter
clearBlockRequest in class RVMThread.BlockAdapter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||