proxygen
folly::detail::LockInterfaceDispatcher< Mutex > Class Template Reference

#include <LockTraits.h>

Static Public Attributes

static constexpr bool has_lock_unique = true
 
static constexpr bool has_lock_timed
 
static constexpr bool has_lock_shared
 
static constexpr bool has_lock_upgrade
 

Private Types

using duration = std::chrono::milliseconds
 

Detailed Description

template<class Mutex>
class folly::detail::LockInterfaceDispatcher< Mutex >

An internal helper class to help identify the interface supported by the mutex. This is used in conjunction with the above MutexLevel specializations and the LockTraitsImpl to determine what functions are supported by objects of type Mutex

Definition at line 85 of file LockTraits.h.

Member Typedef Documentation

template<class Mutex >
using folly::detail::LockInterfaceDispatcher< Mutex >::duration = std::chrono::milliseconds
private

Definition at line 92 of file LockTraits.h.

Member Data Documentation

template<class Mutex >
constexpr bool folly::detail::LockInterfaceDispatcher< Mutex >::has_lock_shared
static
Initial value:

Definition at line 98 of file LockTraits.h.

template<class Mutex >
constexpr bool folly::detail::LockInterfaceDispatcher< Mutex >::has_lock_timed
static
Initial value:

Definition at line 96 of file LockTraits.h.

template<class Mutex >
constexpr bool folly::detail::LockInterfaceDispatcher< Mutex >::has_lock_unique = true
static

Definition at line 95 of file LockTraits.h.

template<class Mutex >
constexpr bool folly::detail::LockInterfaceDispatcher< Mutex >::has_lock_upgrade
static
Initial value:

Definition at line 100 of file LockTraits.h.


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