Evo C++ Library v0.5.1
Public Types | Public Member Functions | Public Attributes | List of all members
SysMutex Struct Reference

#include <evo/impl/systhread.h>

Inheritance diagram for SysMutex:
Inheritance graph
[legend]

Public Types

typedef pthread_mutex_t Handle
 Mutex handle type. More...
 

Public Member Functions

 SysMutex ()
 Constructor. More...
 
 ~SysMutex ()
 Destructor. More...
 
void lock ()
 Lock mutex. More...
 
bool trylock ()
 Try to lock mutex without blocking. More...
 
bool trylock (ulong timeout_ms)
 Try to lock mutex with a timeout. More...
 
void unlock ()
 Unlock mutex. More...
 

Public Attributes

Handle handle
 Mutex handle – do not modify. More...
 

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