# taskflow/core/tsq.hpp file

task queue include file

## Namespaces

namespace tf
  taskflow namespace

## Classes

template<typename T>
class tf::UnboundedTaskQueue
  class to create a lock-free unbounded work-stealing queue
template<typename T, size_t LogSize = TF_DEFAULT_BOUNDED_TASK_QUEUE_LOG_SIZE>
class tf::BoundedTaskQueue
  class to create a lock-free bounded work-stealing queue

## Defines

#define TF_DEFAULT_BOUNDED_TASK_QUEUE_LOG_SIZE
#define TF_DEFAULT_UNBOUNDED_TASK_QUEUE_LOG_SIZE

## 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.

Tab / T to search, Esc to close
…

Search for symbols, directories, files, pages or modules. You can omit any prefix from the symbol or file path; adding a `:` or `/` suffix lists all members of given symbol or directory.

Use ↓ / ↑ to navigate through the list, Enter to go. Tab autocompletes common prefix, you can copy a link to the result using ⌘ L while ⌘ M produces a Markdown link.

Sorry, nothing was found.