Provides an easy locking mechanism used to ensure the threadsafety of a code area. More...
#include <xdispatch/synchronized.h>
Public Member Functions | |
| synclock () | |
| XDISPATCH_DEPRECATED (synclock(const std::string &, const bool auto_lock=false)) | |
| This function will be removed in future versions. | |
| synclock (const synclock &, const bool auto_lock=false) | |
| synclock (const semaphore &, const bool auto_lock=false) | |
| ~synclock () | |
| operator bool () const | |
| synclock & | operator= (const synclock &) |
| synclock & | unlock () |
| synclock & | lock () |
Provides an easy locking mechanism used to ensure the threadsafety of a code area.
Definition at line 53 of file synchronized.h.
| xdispatch::synclock::synclock | ( | const synclock & | , |
| const bool | auto_lock = false |
||
| ) |
| xdispatch::synclock::synclock | ( | const semaphore & | , |
| const bool | auto_lock = false |
||
| ) |
| xdispatch::synclock::operator bool | ( | ) | const |
| xdispatch::synclock::XDISPATCH_DEPRECATED | ( | synclock(const std::string &, const bool auto_lock=false) | ) |
This function will be removed in future versions.