dispenso
A library for task parallelism
 
Loading...
Searching...
No Matches
task_set.h File Reference
#include <dispenso/detail/task_set_impl.h>

Go to the source code of this file.

Classes

class  dispenso::TaskSet
 
class  dispenso::ConcurrentTaskSet
 

Enumerations

enum class  ParentCascadeCancel { kOff , kOn }
 

Functions

TaskSetBase * dispenso::parentTaskSet ()
 

Variables

constexpr ssize_t dispenso::kDefaultStealingMultiplier = 4
 

Detailed Description

A file providing TaskSet and ConcurrentTaskSet. These interfaces allow the user to submit/schedule multiple closures and then wait on them.

Definition in file task_set.h.

Enumeration Type Documentation

◆ ParentCascadeCancel

enum class dispenso::ParentCascadeCancel
strong

Definition at line 17 of file task_set.h.

Function Documentation

◆ parentTaskSet()

DISPENSO_DLL_ACCESS TaskSetBase * dispenso::parentTaskSet ( )

Get access to the parent task set that scheduled the currently running code. nullptr if called outside the context of a (Concurrent)TaskSet schedule.

Definition at line 41 of file task_set.cpp.

Variable Documentation

◆ kDefaultStealingMultiplier

constexpr ssize_t dispenso::kDefaultStealingMultiplier = 4
constexpr

Definition at line 24 of file task_set.h.