8#if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))
10#include <pthread_np.h>
void ScheduleBatchPriority()
On platforms that support it, tell the kernel the calling thread is CPU-intensive and non-interactive...
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
std::string SysErrorString(int err)
Return system error string from errno value.