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 | Friends | List of all members
threading::mutex Class Reference

#include <thread.hpp>

Inheritance diagram for threading::mutex:
Inheritance graph

Public Member Functions

 mutex ()
 
 ~mutex ()
 

Private Attributes

SDL_mutex *const m_
 

Friends

class lock
 
class condition
 

Detailed Description

Definition at line 95 of file thread.hpp.

Constructor & Destructor Documentation

threading::mutex::mutex ( )

Definition at line 82 of file thread.cpp.

threading::mutex::~mutex ( )

Definition at line 85 of file thread.cpp.

References m_.

Friends And Related Function Documentation

friend class condition
friend

Definition at line 103 of file thread.hpp.

friend class lock
friend

Definition at line 102 of file thread.hpp.

Member Data Documentation

SDL_mutex* const threading::mutex::m_
private

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