public.h 330 B

1234567891011121314
  1. #pragma once
  2. #include <cstddef>
  3. namespace NYT::NThreading {
  4. ////////////////////////////////////////////////////////////////////////////////
  5. #define YT_DECLARE_SPIN_LOCK(type, name) \
  6. type name{__LOCATION__}
  7. ////////////////////////////////////////////////////////////////////////////////
  8. } // namespace NYT::NThreading