proxygen
folly::detail::UnlockPolicyShared< LockTraits > Struct Template Reference

#include <LockTraits.h>

Inheritance diagram for folly::detail::UnlockPolicyShared< LockTraits >:
folly::LockPolicyShared folly::LockPolicyTryShared folly::LockPolicyFromExclusiveToShared folly::LockPolicyFromUpgradeToShared

Static Public Member Functions

template<typename Mutex >
static void unlock (Mutex &mutex)
 

Detailed Description

template<template< typename... > class LockTraits>
struct folly::detail::UnlockPolicyShared< LockTraits >

Definition at line 379 of file LockTraits.h.

Member Function Documentation

template<template< typename... > class LockTraits>
template<typename Mutex >
static void folly::detail::UnlockPolicyShared< LockTraits >::unlock ( Mutex mutex)
inlinestatic

Definition at line 381 of file LockTraits.h.

Referenced by TEST().

381  {
382  LockTraits<Mutex>::unlock_shared(mutex);
383  }
std::mutex mutex

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