All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
server::Mutex Class Reference

A Mutex object. More...

#include <sync.h>

Public Member Functions

void lock ()
 
void unlock ()
 

Detailed Description

A Mutex object.

This class implements a platform-indipendent lock mechanism, useful to synchronize threads which share global resources.

Member Function Documentation

void Mutex::lock ( )

Request the mutex control and stop the calling thread if another thread owns the mutex.

void Mutex::unlock ( )

Release the mutex control.


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