July 2007
Intermediate to advanced
332 pages
10h 4m
English
empty_task Class — Subclass of task that represents doing nothing.
#include "tbb/task.h" class empty_task;
An empty_task is a task that does nothing. It is useful as a continuation of a parent task when the continuation should do nothing except wait for its children to complete.
namespace tbb {
class empty_task: public task {
/*override*/ task* execute() {return NULL;}
};
}