BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | List of all members
fc::unique_lock< T > Class Template Reference

#include <unique_lock.hpp>

Public Member Functions

 unique_lock (T &l, const fc::time_point &abs)
 
 unique_lock (T &l, try_to_lock_t)
 
 unique_lock (T &l)
 
 ~unique_lock ()
 
 operator bool () const
 
void unlock ()
 
void lock ()
 

Detailed Description

template<typename T>
class fc::unique_lock< T >

Including Boost's unique lock drastically increases compile times for something that is this trivial!

Definition at line 13 of file unique_lock.hpp.

Constructor & Destructor Documentation

◆ unique_lock() [1/3]

template<typename T >
fc::unique_lock< T >::unique_lock ( T &  l,
const fc::time_point abs 
)
inline

Definition at line 15 of file unique_lock.hpp.

◆ unique_lock() [2/3]

template<typename T >
fc::unique_lock< T >::unique_lock ( T &  l,
try_to_lock_t   
)
inline

Definition at line 16 of file unique_lock.hpp.

◆ unique_lock() [3/3]

template<typename T >
fc::unique_lock< T >::unique_lock ( T &  l)
inline

Definition at line 17 of file unique_lock.hpp.

◆ ~unique_lock()

template<typename T >
fc::unique_lock< T >::~unique_lock ( )
inline

Definition at line 18 of file unique_lock.hpp.

Member Function Documentation

◆ lock()

template<typename T >
void fc::unique_lock< T >::lock ( )
inline

Definition at line 21 of file unique_lock.hpp.

◆ operator bool()

template<typename T >
fc::unique_lock< T >::operator bool ( ) const
inline

Definition at line 19 of file unique_lock.hpp.

◆ unlock()

template<typename T >
void fc::unique_lock< T >::unlock ( )
inline

Definition at line 20 of file unique_lock.hpp.


The documentation for this class was generated from the following file: