The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
threading::lock Class Reference

#include <thread.hpp>

Inheritance diagram for threading::lock:
Inheritance graph

Public Member Functions

 lock (mutex &m)
 
 ~lock ()
 

Private Attributes

mutexm_
 

Detailed Description

Definition at line 115 of file thread.hpp.

Constructor & Destructor Documentation

threading::lock::lock ( mutex m)
explicit

Definition at line 90 of file thread.cpp.

References threading::mutex::m_, and m_.

threading::lock::~lock ( )

Definition at line 95 of file thread.cpp.

References threading::mutex::m_, and m_.

Member Data Documentation

mutex& threading::lock::m_
private

Definition at line 132 of file thread.hpp.

Referenced by lock(), and ~lock().


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