fairness  v1.0.0
A collection of advanced syncronization mechanisms.
Loading...
Searching...
No Matches
acquisition_modes.hpp
Go to the documentation of this file.
1
13#ifndef BOOST_FAIRNESS_ACQUISITION_MODES_HPP
14#define BOOST_FAIRNESS_ACQUISITION_MODES_HPP
15
17
22 struct defer_lock_t { explicit defer_lock_t() = default; };
27 struct try_to_lock_t { explicit try_to_lock_t() = default; };
32 struct adopt_lock_t { explicit adopt_lock_t() = default; };
37 static constexpr defer_lock_t defer_lock;
42 static constexpr try_to_lock_t try_to_lock;
47 static constexpr adopt_lock_t adopt_lock;
48
49}
50#endif // BOOST_FAIRNESS_ACQUISITION_MODES_HPP
Definition acquisition_modes.hpp:16