carb::this_thread::sleepForUs

Defined in carb/thread/Util.h

inline void carb::this_thread::sleepForUs(uint32_t microseconds) noexcept

A simple sleep for the current thread that does not include the overhead of std::chrono.

Parameters

microseconds – The number of microseconds to sleep for