|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgnu.app.Application
gnu.x11.Application
gnu.x11.test.Graphics
gnu.x11.test.Sync
public class Sync
Test multi-threading and synchronization.
| Field Summary | |
|---|---|
static java.util.Random |
random
|
java.lang.Thread |
thread
|
| Fields inherited from class gnu.x11.test.Graphics |
|---|
event, leave_display_open, window |
| Fields inherited from class gnu.x11.Application |
|---|
display, option |
| Fields inherited from class gnu.app.Application |
|---|
exit_now, help_option |
| Constructor Summary | |
|---|---|
Sync(java.lang.String[] args)
|
|
| Method Summary | |
|---|---|
void |
dispatch_event()
|
protected void |
exit()
|
static void |
main(java.lang.String[] args)
|
void |
run()
|
| Methods inherited from class gnu.x11.test.Graphics |
|---|
about, exec, paint |
| Methods inherited from class gnu.app.Application |
|---|
about |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.Random random
public java.lang.Thread thread
| Constructor Detail |
|---|
public Sync(java.lang.String[] args)
| Method Detail |
|---|
public void dispatch_event()
dispatch_event in class Graphicsprotected void exit()
exit in class gnu.app.Applicationpublic void run()
run in interface java.lang.Runnablepublic static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||