taskflow/taskflow.hpp file

main taskflow include file

Namespaces

namespace tf
taskflow namespace

Defines

#define TF_DEFAULT_BOUNDED_TASK_QUEUE_LOG_SIZE
#define TF_DEFAULT_UNBOUNDED_TASK_QUEUE_LOG_SIZE
#define TF_VERSION
version of the Taskflow (currently 3.9.0)
#define TF_MAJOR_VERSION
major version of Taskflow, which is equal to TF_VERSION/100000
#define TF_MINOR_VERSION
minor version of Taskflow, which is equal to TF_VERSION / 100 % 1000
#define TF_PATCH_VERSION
patch version of Taskflow, which is equal to TF_VERSION % 100

Define documentation

#define TF_DEFAULT_BOUNDED_TASK_QUEUE_LOG_SIZE

This macro defines the default size of the bounded task queue in Log2. Bounded task queue is used by each worker.

#define TF_DEFAULT_UNBOUNDED_TASK_QUEUE_LOG_SIZE

This macro defines the default size of the unbounded task queue in Log2. Unbounded task queue is used by the executor.

#define TF_VERSION

version of the Taskflow (currently 3.9.0)

The version system is made of a major version number, a minor version number, and a patch number:

  • TF_VERSION % 100 is the patch level
  • TF_VERSION / 100 % 1000 is the minor version
  • TF_VERSION / 100000 is the major version