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

#include <LockTraits.h>

Inheritance diagram for folly::detail::UnlockPolicyUpgrade< LockTraits >:
folly::LockPolicyTryUpgrade folly::LockPolicyUpgrade folly::LockPolicyFromExclusiveToUpgrade

Static Public Member Functions

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

Detailed Description

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

Definition at line 386 of file LockTraits.h.

Member Function Documentation

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

Definition at line 388 of file LockTraits.h.

Referenced by TEST().

388  {
389  LockTraits<Mutex>::unlock_upgrade(mutex);
390  }
std::mutex mutex

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