STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions
shared_mutex File Reference
#include <thr/xthreads.h>
#include <mutex>
#include <condition_variable>

Classes

class  shared_mutex
 
class  shared_timed_mutex
 
class  shared_lock< _Mutex >
 

Macros

#define _SHARED_MUTEX_
 
#define _HAS_SHARED_MUTEX   1
 

Functions

template<class _Mutex >
void swap (shared_lock< _Mutex > &_Left, shared_lock< _Mutex > &_Right) _NOEXCEPT
 

Macro Definition Documentation

#define _HAS_SHARED_MUTEX   1
#define _SHARED_MUTEX_

Function Documentation

template<class _Mutex >
void swap ( shared_lock< _Mutex > &  _Left,
shared_lock< _Mutex > &  _Right 
)
422  { // swap two shared locks
423  _Left.swap(_Right);
424  }
void swap(shared_lock &_Right) _NOEXCEPT
Definition: shared_mutex:373