BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface 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

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.

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.

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

Definition at line 17 of file unique_lock.hpp.

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

Definition at line 18 of file unique_lock.hpp.

Member Function Documentation

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

Definition at line 21 of file unique_lock.hpp.

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

Definition at line 19 of file unique_lock.hpp.

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: