GDAL
CPLMutexHolder Class Reference

Object to hold a mutex. More...

#include <cpl_multiproc.h>

Public Member Functions

 CPLMutexHolder (CPLMutex **phMutex, double dfWaitInSeconds=1000.0, const char *pszFile="/usr/src/RPM/BUILD/gdal-3.12.4/port/cpl_multiproc.h", int nLine=150, int nOptions=CPL_MUTEX_RECURSIVE)
 Instantiates the mutex if not already done.
 CPLMutexHolder (CPLMutex *hMutex, double dfWaitInSeconds=1000.0, const char *pszFile="/usr/src/RPM/BUILD/gdal-3.12.4/port/cpl_multiproc.h", int nLine=157)
 This variant assumes the mutex has already been created.

Detailed Description

Object to hold a mutex.

Constructor & Destructor Documentation

◆ CPLMutexHolder()

CPLMutexHolder::CPLMutexHolder ( CPLMutex * hMutex,
double dfWaitInSeconds = 1000.0,
const char * pszFile = "/usr/src/RPM/BUILD/gdal-3.12.4/port/cpl_multiproc.h",
int nLine = 157 )
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: