Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
void | asyncExec (Runnable runnable) |
void | syncExec (Runnable runnable) |
boolean | isUIThread () |
void de.fu_berlin.inf.dpp.synchronize.internal.AWTSynchronizer.asyncExec | ( | Runnable | runnable | ) |
Causes the run()
method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The caller of this method continues to run in parallel, and is not notified when the runnable has completed.
runnable | code to run on the user-interface thread |
Implements de.fu_berlin.inf.dpp.synchronize.UISynchronizer.
boolean de.fu_berlin.inf.dpp.synchronize.internal.AWTSynchronizer.isUIThread | ( | ) |
Checks if the current thread is the user-interface thread.
true
if the current thread is the user-interface thread, false
otherwise Implements de.fu_berlin.inf.dpp.synchronize.UISynchronizer.
void de.fu_berlin.inf.dpp.synchronize.internal.AWTSynchronizer.syncExec | ( | Runnable | runnable | ) |
Causes the run()
method of the runnable to be invoked by the user-interface thread at the next reasonable opportunity. The thread which calls this method is suspended until the runnable completes.
runnable | code to run on the user-interface thread |
Implements de.fu_berlin.inf.dpp.synchronize.UISynchronizer.