spinlock_status.hpp 457 B

123456789101112131415161718192021
  1. // Copyright Oliver Kowalke 2017.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_FIBERS_SPINLOCK_STATUS_H
  6. #define BOOST_FIBERS_SPINLOCK_STATUS_H
  7. namespace boost {
  8. namespace fibers {
  9. namespace detail {
  10. enum class spinlock_status {
  11. locked = 0,
  12. unlocked
  13. };
  14. }}}
  15. #endif // BOOST_FIBERS_SPINLOCK_STATUS_H