fairness
v1.0.0
A collection of advanced syncronization mechanisms.
|
This file contains the implementation of the unique_lock. More...
#include <boost/fairness/priority_t.hpp>
#include <stdexcept>
#include <system_error>
#include <memory>
#include <chrono>
Go to the source code of this file.
Classes | |
class | boost::fairness::unique_lock< Lockable > |
The class unique_lock is a general-purpose mutex ownership wrapper allowing deferred locking, time-constrained attempts at locking, recursive locking, transfer of lock ownership, and use with condition variables. The class unique_lock is movable, but not copyable – it meets the requirements of MoveConstructible and MoveAssignable but not of CopyConstructible or CopyAssignable. The class unique_lock meets the BasicLockable requirements. If Lockable meets the Lockable requirements, unique_lock also meets the Lockable requirements (ex.: can be used in boost::fairness::lock); if Lockable meets the TimedLockable requirements, unique_lock also meets the TimedLockable requirements. More... | |
Namespaces | |
namespace | boost |
namespace | boost::fairness |
Functions | |
template<typename Lockable > | |
void | boost::fairness::swap (unique_lock< Lockable > &lhs, unique_lock< Lockable > &rhs) noexcept |
This file contains the implementation of the unique_lock.