|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.base.Object
ist.palcom.base.Coroutine
public class Coroutine
Instances of Coroutine represents independent execution sequences. A coroutine has its own stack.
| Constructor Summary | |
|---|---|
Coroutine()
Creates a new coroutine. |
|
| Method Summary | |
|---|---|
void |
attach()
Attaches this Coroutine. |
void |
attachInterruptable()
Attaches this coroutine while interrupts are enabled. |
void |
run()
The run method does nothing. |
void |
suspend()
Suspends this Coroutine and returns control to the attach point. |
void |
terminate()
Terminates this Coroutine and returns control the attach point. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Coroutine()
| Method Detail |
|---|
public void attach()
public void run()
public void suspend()
public void terminate()
public void attachInterruptable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||