Loading...
Searching...
No Matches
7#ifdef GYM_PCB_NO_STDFORMAT
11namespace fmt {
using std::format; }
15using uint =
unsigned int;
17#define std_08x std::hex << std::setw(8) << std::setfill('0')
19#define PEDANTIC(args...) args
21#define WITH_LOCK(a, b) do { std::lock_guard _lock((a)->getLock()); b; } while(0)
23#define WITH_RLOCK(a, b) do { std::shared_lock _lock((a)->getLock()); b; } while(0)
24#define WITH_WLOCK(a, b) do { std::unique_lock _lock((a)->getLock()); b; } while(0)