|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.parallel.Mutex
public class Mutex
Provides mutual exclusive execution of a Runnable.
| Constructor Summary | |
|---|---|
Mutex()
|
|
| Method Summary | |
|---|---|
void |
execute(java.lang.Runnable runnable)
The runnable is executed under synchronization of this
Mutex instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mutex()
| Method Detail |
|---|
public final void execute(java.lang.Runnable runnable)
runnable is executed under synchronization of this
Mutex instance.
runnable -
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||