Programming‎ > ‎Threading‎ > ‎

Thread API

spinlocks
Atomic
Quantum

C++
std::atomic
std::memory_order
std::thread
std::mutex


How Ubisoft Montreal Develops Games For Multicore – Before and After C++11. - 2014
Double-Checked Locking Is Fixed In C++11 - 2013
Acquire and Release Fences Don’t Work the Way You’d Expect - 2013
The Synchronizes-With Relation - 2013
Acquire and Release Fences - 2013
Acquire and Release Semantics - 2012

Windows
SetThreadAffinityMask
Set the logical processors a thread is allowed to run on.

SwitchToThread
Yield the current threads time slice to another thread that is ready to run on the current processor.

Sleep
Suspends the execution of the current thread for the selected time interval in milliseconds.

YieldProcessor
WaitForSingleObject
Event Objects
Mutex Objects
Semaphore Objects
Critical Section Objects
Interlocked Variable Access



Linux
POSIX Threads library Pthreads



Comments