summaryrefslogtreecommitdiff
path: root/boost/fiber/detail/spinlock_status.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fiber/detail/spinlock_status.hpp')
-rw-r--r--boost/fiber/detail/spinlock_status.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/boost/fiber/detail/spinlock_status.hpp b/boost/fiber/detail/spinlock_status.hpp
new file mode 100644
index 0000000000..74f09e4acc
--- /dev/null
+++ b/boost/fiber/detail/spinlock_status.hpp
@@ -0,0 +1,21 @@
+
+// Copyright Oliver Kowalke 2017.
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef BOOST_FIBERS_SPINLOCK_STATUS_H
+#define BOOST_FIBERS_SPINLOCK_STATUS_H
+
+namespace boost {
+namespace fibers {
+namespace detail {
+
+enum class spinlock_status {
+ locked = 0,
+ unlocked
+};
+
+}}}
+
+#endif // BOOST_FIBERS_SPINLOCK_STATUS_H