public class Rec extends Task
Task.Fork, Task.Invoke<TT>, Task.Spawn<TT>done, exitResult, fiber, id, pauseReason, running, scheduler, timer| Constructor and Description |
|---|
Rec(int an,
int aDepth) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
static void |
main(java.lang.String[] args)
benchmark recursion
|
void |
noPauseRun() |
static long |
testCont(Rec ex) |
checkKill, dump, equals, errNotWoven, errNotWoven, errorExit, errorExit, execute, exit, exit, fork, getCurrentTask, getExecutionThread, getPauseReason, getScheduler, getStackDepth, getState, getTid, hashCode, id, idledown, informOnExit, invoke, isDone, join, joinb, onEvent, pause, pause, pinToThread, prePin, resume, resumeOnScheduler, run, setPauseReason, setScheduler, setTid, shutdown, sleep, spawn, spawn, start, toString, unpinFromThread, yield, yieldpublic static void main(java.lang.String[] args)
throws java.lang.Exception
args - the number of passes and the depth of each pass, both optionaljava.lang.Exceptionpublic static long testCont(Rec ex) throws NotPausable, java.lang.Exception
NotPausablejava.lang.Exceptionpublic void execute()
throws Pausable
execute in interface Fiber.Workerexecute in class TaskPausablepublic void noPauseRun()