Name
empty_task Class — Subclass of task that represents doing nothing.
Synopsis
#include "tbb/task.h" class empty_task;
Description
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.
Members
namespace tbb { class empty_task: public task { /*override*/ task* execute() {return NULL;} }; }
Get Intel Threading Building Blocks now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.