carb/tasking/TaskingTypes.h¶
↰ Parent directory: carb/tasking/
carb::tasking type definitions
Source: carb/tasking/TaskingTypes.h
Included By¶
carb/tasking/TaskingHelpers.h: carb::tasking helper functions
Namespaces¶
carb: The main Carbonite namespace.
carb::tasking: Namespace for carb.tasking.plugin and related utilities.
Classes¶
carb::tasking::Object: A generic ABI-safe representation of multiple types.
carb::tasking::TaskDebugInfo: Defines debug information about a task retrieved by ITasking::getTaskDebugInfo() or ITasking::walkTaskDebugInfo().
carb::tasking::TaskDesc: Defines a task descriptor.
carb::tasking::TaskingDesc: Defines a tasking plugin descriptor.
carb::tasking::ConditionVariable: A fiber-aware condition_variable: a synchronization primitive that, together with a carb::tasking::Mutex, blocks one or more threads or tasks until a condition becomes true.
carb::tasking::Counter: Used to create dependencies between tasks and to wait for a set of tasks to finish.
carb::tasking::Future: A carb::tasking::Future is a counterpart to a carb::tasking::Promise.
carb::tasking::Mutex: A fiber-aware mutex: a synchronization primitive for mutual exclusion.
carb::tasking::Promise: A facility to store a value that is later acquired asynchronously via a carb::tasking::Future created via Promise::get_future().
carb::tasking::Semaphore: A fiber-aware semaphore: a synchronization primitive that limits to N threads/fibers.
carb::tasking::SharedFuture: carb::tasking::SharedFuture is a sharable version of carb::tasking::Future.
carb::tasking::SharedMutex: A fiber-aware shared_mutex: a synchronization primitive that functions as a multiple-reader/single-writer lock.
Enums¶
carb::tasking::ObjectType: carb::tasking::Object type for carb::tasking::Object.
carb::tasking::Priority: Defines a task priority.
carb::tasking::TaskDebugState: Debug state of a task.
Typedefs¶
carb::tasking::ApplyBatchFn: The function executed by ITasking::applyRangeBatch()
carb::tasking::ApplyFn: The function executed by ITasking::applyRange()
carb::tasking::OnTaskFn: The function to execute as a task.
carb::tasking::TaskContext: An opaque handle that is used with getTaskContext(), suspendTask() and wakeTask().
carb::tasking::TaskDebugInfoFn: Callback function for ITasking::walkTaskDebugInfo().
carb::tasking::TaskStorageDestructorFn: A destructor function for a Task Storage slot.
carb::tasking::TaskStorageKey: An opaque handle representing a Task Storage slot.
Variables¶
carb::tasking::kInfinite: A constant for carb::tasking::ITasking wait functions indicating “infinite” timeout.
carb::tasking::kInvalidTaskContext: A specific value for TaskContext that indicates a non-valid TaskContext.
carb::tasking::kInvalidTaskStorageKey: Represents an invalid TaskStorageKey.
carb::tasking::kMaxFibers: The absolute maximum number of fibers that carb::tasking::ITasking will create.