Searched refs:next_thread_id (Results 1 – 2 of 2) sorted by relevance
16 std::atomic<int> next_thread_id{1}; variable28 thread_id = next_thread_id.fetch_add(1); in GetCurrentThreadId()
827 static std::atomic<uint64_t> next_thread_id{0}; variable830 return ThreadId { next_thread_id++ }; in AllocateEnvironmentThreadId()