carb/tasking/TaskingHelpers.h

↰ Parent directory: carb/tasking/

carb::tasking helper functions

Source: carb/tasking/TaskingHelpers.h

Included By

Namespaces

  • carb: The main Carbonite namespace.

  • carb::tasking: Namespace for carb.tasking.plugin and related utilities.

Classes

Defines

  • CARB_ASSERT_ASYNC: A macro that is used to assert that a scope is running in task context in debug builds only.

  • CARB_ASYNC: A macro that can be used to mark a function as async, that is, it always executes in the context of a task.

  • CARB_CHECK_ASYNC: A macro that is used to assert that a scope is running in task context in debug and checked builds.

  • CARB_FATAL_UNLESS_ASYNC: A macro that is used to assert that a scope is running in task context.

  • CARB_IS_ASYNC: Helper macro that results in a boolean expression which is true if the current thread is running in task context.

  • CARB_MAYBE_ASYNC: A macro that can be used to mark a function as possibly async, that is, it may execute in the context of a task.