Threading.Tasks API inventory

Provides Task, TaskCompletionSource, continuations, schedulers, awaiter-shaped helpers, and aggregate task coordination.

Generated public inventory15 headersSource 6d429559

Ownership and selection

FactPinned value
Physical ownermodules/threading-tasks
CMake targetSharpRuntime::Threading.Tasks
Component kindstatic
Direct production dependenciesCore.Base, Threading
External dependencyNone
Public headers15
Production sources3

Select the component

set(SHARP_RUNTIME_COMPONENTS Threading.Tasks)
set(SHARP_RUNTIME_BUILD_TESTS OFF CACHE BOOL "" FORCE)
add_subdirectory(sharp-runtime)

target_link_libraries(app PRIVATE SharpRuntime::Threading.Tasks)

Compatibility and platform notes

These are native task objects and continuations, not C# async/await execution semantics. Ownership, observation, cancellation, and scheduler lifetime remain explicit.

Implementation-status evidence

The owning module contains 2 C++ test sources and participates in a physical component test executable. Source-file count is not a discovered-test count.

This page deliberately reports source and test topology instead of a hand-authored Done/Partial maturity badge. Consult limitations and subsystem documentation for material behavioral reductions.

Public header and entry inventory

This complete list is derived from modules/threading-tasks/include. Each filename is a public discovery entry; it may declare more than one type, and it does not imply method-level .NET parity.

System1 public header
System::Threading::Tasks14 public headers