carb::this_thread
- 
namespace this_thread
- Namespace for utilities that operate on the current thread specifically. 
Functions
- carb::this_thread::atomic_fence_seq_cst: A replacement function for - std::atomic_thread_fence(std::memory_order_seq_cst)that performs better on some older compilers.
- carb::this_thread::get: Returns the native handle for the current thread. 
- carb::this_thread::getAffinity: Gets the current CPU Affinity for the current thread. 
- carb::this_thread::getId: Retrieve the thread ID for the current thread. 
- carb::this_thread::getName: Retrieves the name of the current thread. 
- carb::this_thread::getProcessId: Returns the ID of the currently executing process. 
- carb::this_thread::getProcessIdCached: Get the ID of the currently executing process. 
- carb::this_thread::setAffinity: Sets the CPU Affinity for the current thread. 
- carb::this_thread::setAffinity: Sets the affinity of the current thread. 
- carb::this_thread::setName: Sets the name for the current thread. 
- carb::this_thread::sleepForUs: A simple sleep for the current thread that does not include the overhead of - std::chrono.
- carb::this_thread::spinTryWait: Calls a predicate until it returns true or a number of attempts have elapsed. 
- carb::this_thread::spinTryWaitWithBackoff: Calls a predicate until it returns true or a number of attempts have elapsed, backing off as time passes. 
- carb::this_thread::spinWait: Calls a predicate repeatedly until it returns - true.
- carb::this_thread::spinWaitWithBackoff: Calls a predicate until it returns true with progressively increasing delays between calls.