|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.scheduler.RVMThread.BlockAdapter org.jikesrvm.scheduler.RVMThread.SuspendBlockAdapter
public static class RVMThread.SuspendBlockAdapter
Constructor Summary | |
---|---|
RVMThread.SuspendBlockAdapter()
|
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.SuspendBlockAdapter()
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.BlockAdapter
int requestBlock(RVMThread t)
RVMThread.BlockAdapter
requestBlock
in class RVMThread.BlockAdapter
boolean hasBlockRequest(RVMThread t)
RVMThread.BlockAdapter
hasBlockRequest
in class RVMThread.BlockAdapter
boolean hasBlockRequest(RVMThread t, int token)
RVMThread.BlockAdapter
hasBlockRequest
in class RVMThread.BlockAdapter
void 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 |