Preliminary. ThinkMeta ConcurrentTasks and this documentation are preliminary; everything is subject to change.

API reference / Core

ThreadCallbackReason enum

Tells a ThreadCallbackProc why it is called.

On this page
Use
#include <ThinkMeta.ConcurrentTasks/Core.h>
Namespace
ThinkMeta::ConcurrentTasks
Platforms
Windows, Linux

Syntax

enum class ThreadCallbackReason : std::int32_t

Values

Starting

A new scheduler thread starts.

Syntax

Starting

Remarks

Called on that thread before it runs its first task.

Exiting

A scheduler thread ends.

Syntax

Exiting

Remarks

Called on that thread after it has left the scheduling loop (after ITaskScheduler::Stop), right before the thread ends.

Generated from ThinkMeta.ConcurrentTasks.API @ c7663c4 (2026-11-19).