Threading API inventory
Owns threads, monitors, events, locks, cancellation, thread pool, synchronization context, atomics, and related primitives.
Ownership and selection
| Fact | Pinned value |
|---|---|
| Physical owner | modules/threading |
| CMake target | SharpRuntime::Threading |
| Component kind | static |
| Direct production dependencies | Core.Base, TimeZone |
| External dependency | None |
| Public headers | 59 |
| Production sources | 4 |
Select the component
set(SHARP_RUNTIME_COMPONENTS Threading)
set(SHARP_RUNTIME_BUILD_TESTS OFF CACHE BOOL "" FORCE)
add_subdirectory(sharp-runtime)
target_link_libraries(app PRIVATE SharpRuntime::Threading)Compatibility and platform notes
Built on native C++ and operating-system facilities. Scheduling, teardown, callback lifetime, fairness, and Emscripten pthread configuration differ from the CLR.
Implementation-status evidence
The owning module contains 11 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/include. Each filename is a public discovery entry; it may declare more than one type, and it does not imply method-level .NET parity.
System4 public headers
System::Threading55 public headers
System/Threading/AbandonedMutexException.hppSystem/Threading/ApartmentState.hppSystem/Threading/AsyncLocal.hppSystem/Threading/AsyncLocalValueChangedArgs.hppSystem/Threading/AutoResetEvent.hppSystem/Threading/Barrier.hppSystem/Threading/BarrierPostPhaseException.hppSystem/Threading/CancellationToken.hppSystem/Threading/CancellationTokenRegistration.hppSystem/Threading/CancellationTokenSource.hppSystem/Threading/CountdownEvent.hppSystem/Threading/EventResetMode.hppSystem/Threading/EventWaitHandle.hppSystem/Threading/ExecutionContext.hppSystem/Threading/IThreadPoolWorkItem.hppSystem/Threading/ITimer.hppSystem/Threading/Interlocked.hppSystem/Threading/LazyInitializer.hppSystem/Threading/Lock.hppSystem/Threading/LockCookie.hppSystem/Threading/LockRecursionException.hppSystem/Threading/LockRecursionPolicy.hppSystem/Threading/ManualResetEvent.hppSystem/Threading/ManualResetEventSlim.hppSystem/Threading/Monitor.hppSystem/Threading/Mutex.hppSystem/Threading/PeriodicTimer.hppSystem/Threading/ReaderWriterLock.hppSystem/Threading/ReaderWriterLockSlim.hppSystem/Threading/RegisteredWaitHandle.hppSystem/Threading/Semaphore.hppSystem/Threading/SemaphoreFullException.hppSystem/Threading/SemaphoreSlim.hppSystem/Threading/SpinLock.hppSystem/Threading/SpinWait.hppSystem/Threading/SynchronizationContext.hppSystem/Threading/SynchronizationLockException.hppSystem/Threading/Thread.hppSystem/Threading/ThreadAbortException.hppSystem/Threading/ThreadExceptionEventArgs.hppSystem/Threading/ThreadInterruptedException.hppSystem/Threading/ThreadLocal.hppSystem/Threading/ThreadPool.hppSystem/Threading/ThreadPriority.hppSystem/Threading/ThreadStart.hppSystem/Threading/ThreadStartException.hppSystem/Threading/ThreadState.hppSystem/Threading/ThreadStateException.hppSystem/Threading/Timeout.hppSystem/Threading/Timer.hppSystem/Threading/Volatile.hppSystem/Threading/WaitCallback.hppSystem/Threading/WaitHandle.hppSystem/Threading/WaitHandleCannotBeOpenedException.hppSystem/Threading/WaitOrTimerCallback.hpp