Provides an easy locking mechanism used to ensure the threadsafety of a code area.
More...
#include <xdispatch/synchronized.h>
List of all members.
Detailed Description
Provides an easy locking mechanism used to ensure the threadsafety of a code area.
- See also:
- synchronized
-
synchronize
Definition at line 53 of file synchronized.h.
Constructor & Destructor Documentation
xdispatch::synclock::synclock |
( |
| ) |
|
xdispatch::synclock::synclock |
( |
const synclock & |
, |
|
|
const bool |
auto_lock = false |
|
) |
| |
xdispatch::synclock::synclock |
( |
const semaphore & |
, |
|
|
const bool |
auto_lock = false |
|
) |
| |
xdispatch::synclock::~synclock |
( |
| ) |
|
Member Function Documentation
xdispatch::synclock::operator bool |
( |
| ) |
const |
synclock& xdispatch::synclock::unlock |
( |
| ) |
|
xdispatch::synclock::XDISPATCH_DEPRECATED |
( |
synclock(const std::string &, const bool auto_lock=false) |
| ) |
|
This function will be removed in future versions.
- Deprecated:
- Please manage your synclock manually instead or use synchronized
- See also:
- synchronized
The documentation for this class was generated from the following file: