#include <ftask.h>
Public Member Functions | |
FutureTask (Runnable *task) | |
construct a runnable future which will notifier its listener when task is finished. | |
virtual | ~FutureTask () |
virtual void * | run () |
Execute the task and notify listener of this future object. |
amino::FutureTask::FutureTask | ( | Runnable * | task | ) | [inline] |
construct a runnable future which will notifier its listener when task is finished.
task | actual task which should be executed to generate result |
virtual amino::FutureTask::~FutureTask | ( | ) | [inline, virtual] |
virtual void* amino::FutureTask::run | ( | ) | [inline, virtual] |