#include <SynchronousExecutor.h>
Inheritance diagram for SynchronousExecutor:
Public Methods | |
SynchronousExecutor () | |
Create a new SynchronousExecutor. | |
virtual | ~SynchronousExecutor () throw () |
Destroy a SynchronousExecutor. | |
virtual void | execute (const RunnableHandle &task) |
void | execute (Runnable *task) |
virtual void | cancel () |
virtual bool | isCanceled () |
virtual void | wait () |
virtual bool | wait (unsigned long) |
Submitting a NullTask will allow you to wait() for all real tasks being executed to complete; and not just to be serviced (started).
|
Implements Executor. |
|
Convience method
Reimplemented from Executor. |
|
Submit a light wieght task to an Executor. This will not block the calling thread very long. The submitted task will be executed at some later point by another thread.
Implements Executor. |
|
Implements Cancelable. |
|
Implements Executor. |
|
Implements Executor. |