Async Control Structures#
The original versions of these control structures work by blocking threads. The TMC versions work by suspending tasks.
TMC Async Version |
Original Blocking Version |
---|---|
std::atomic<T>::wait() / notify_*() |
|
Windows AutoResetEvent |
|
std::barrier |
|
std::latch |
|
Windows ManualResetEvent |
|
std::mutex |
|
std::counting_semaphore |