public abstract class CRunnable extends CObject implements java.lang.Runnable
This class follows DbC(tm) methodology
(Wikipedia).
Where possible, contracts are implement with native's Java assert.
| Constructor and Description |
|---|
CRunnable() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
arun()
The new thread program method (replaces
run). |
java.lang.Throwable |
exception()
Exception object that has terminated
arun execution. |
boolean |
failed()
Did
arun terminated with an exception? |
void |
run()
Default
run method is simply to call arun. |
await, await, await, broadcast, interruptWaitingThreads, lockIsMine, registerAwaitingThreads, signal, syncronizedLockIsMinepublic void run()
run method is simply to call arun.run in interface java.lang.Runnablepublic abstract void arun()
run).public boolean failed()
arun terminated with an exception?public java.lang.Throwable exception()
arun execution.
failed()