xmltooling::Mutex Class Reference

A class for managing exclusive access to resources. More...

#include <xmltooling/util/Threads.h>

List of all members.

Public Member Functions

virtual int lock ()=0
 Locks the mutex for exclusive access.
virtual int unlock ()=0
 Unlocks the mutex for exclusive access.

Static Public Member Functions

static Mutexcreate ()
 Creates a new mutex object.

Detailed Description

A class for managing exclusive access to resources.


Member Function Documentation

static Mutex* xmltooling::Mutex::create (  )  [static]

Creates a new mutex object.

Returns:
the new mutex
virtual int xmltooling::Mutex::lock (  )  [pure virtual]

Locks the mutex for exclusive access.

Returns:
0 for success, non-zero for failure
virtual int xmltooling::Mutex::unlock (  )  [pure virtual]

Unlocks the mutex for exclusive access.

Returns:
0 for success, non-zero for failure

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

Generated on 24 Jan 2020 for xmltooling by  doxygen 1.6.1