roo_threads
API Documentation for roo_threads
Loading...
Searching...
No Matches
atomic.h
Go to the documentation of this file.
1#pragma once
2
4
5#ifdef ROO_THREADS_ATOMIC_USE_CPPSTD
6
7#include <atomic>
8
9namespace roo_threads {
10namespace cppstd {
11
12using memory_order = std::memory_order;
13
14template <typename T>
15using atomic = std::atomic<T>;
16
17} // namespace cppstd
18} // namespace roo_threads
19
20#endif // ROO_THREADS_ATOMIC_USE_CPPSTD