#pragma once #include #include namespace NYT { //////////////////////////////////////////////////////////////////////////////// using TSystemThreadId = size_t; constexpr TSystemThreadId InvalidSystemThreadId = Max(); TSystemThreadId GetSystemThreadId(); using TSequentialThreadId = ui32; constexpr TSequentialThreadId InvalidSequentialThreadId = Max(); TSequentialThreadId GetSequentialThreadId(); //////////////////////////////////////////////////////////////////////////////// } // namespace NYT::NThreading #define THREAD_ID_INL_H_ #include "thread_id-inl.h" #undef THREAD_ID_INL_H_