Lucene++ - a full-featured, c++ search engine
API Documentation
Utility class to support scope locking. More...
#include <Synchronize.h>
Public Member Functions | |
SyncLock (const SynchronizePtr &sync, int32_t timeout=0) | |
template<class OBJECT > | |
SyncLock (OBJECT object, int32_t timeout=0) | |
virtual | ~SyncLock () |
Protected Member Functions | |
void | lock (int32_t timeout) |
Protected Attributes | |
SynchronizePtr | sync |
Utility class to support scope locking.
Lucene::SyncLock::SyncLock | ( | const SynchronizePtr & | sync, |
int32_t | timeout = 0 |
||
) |
|
inline |
|
virtual |
|
protected |
|
protected |