#include <cpl_multiproc.h>
|
| CPLMutexHolder (void **phMutex, double dfWaitInSeconds=1000.0, const char *pszFile=__FILE__, int nLine=__LINE__, int nOptions=0) |
|
| CPLMutexHolder (void *hMutex, double dfWaitInSeconds=1000.0, const char *pszFile=__FILE__, int nLine=__LINE__) |
|
◆ CPLMutexHolder() [1/2]
CPLMutexHolder::CPLMutexHolder |
( |
void ** |
phMutex, |
|
|
double |
dfWaitInSeconds = 1000.0 , |
|
|
const char * |
pszFile = __FILE__ , |
|
|
int |
nLine = __LINE__ , |
|
|
int |
nOptions = 0 |
|
) |
| |
|
explicit |
Instantiates the mutex if not already done.
◆ CPLMutexHolder() [2/2]
CPLMutexHolder::CPLMutexHolder |
( |
void * |
hMutex, |
|
|
double |
dfWaitInSeconds = 1000.0 , |
|
|
const char * |
pszFile = __FILE__ , |
|
|
int |
nLine = __LINE__ |
|
) |
| |
|
explicit |
This variant assumes the mutex has already been created. If not, it will be a no-op
The documentation for this class was generated from the following files: