fairness  v1.0.0
A collection of advanced syncronization mechanisms.
Loading...
Searching...
No Matches
unique_lock.hpp File Reference

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>
Include dependency graph for unique_lock.hpp:

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
 

Detailed Description

This file contains the implementation of the unique_lock.

Author
F. Abrignani (feder.nosp@m.igno.nosp@m.li@ho.nosp@m.tmai.nosp@m.l.it)
S. Martorana (salva.nosp@m.tore.nosp@m.marto.nosp@m.rana.nosp@m.@hotm.nosp@m.ail..nosp@m.com)
Version
0.1
Date
2023-10-06