29 #define THREAD_LOCAL __thread 31 #define THREAD_LOCAL thread_local 47 int getCurrentProcessID();
59 uint32_t getCurrentThreadID();
74 inline uint32_t getCurrentThreadIDCached() {
75 static THREAD_LOCAL uint32_t thread_id;
77 if (unlikely(!thread_id)) {
78 thread_id = getCurrentThreadID();
Definition: category_registry.h:32