GDAL
CPLLockHolder Class Reference

Object to hold a lock. More...

#include <cpl_multiproc.h>

Public Member Functions

 CPLLockHolder (CPLLock **phSpin, CPLLockType eType, const char *pszFile="/usr/src/RPM/BUILD/gdal-3.12.4/port/cpl_multiproc.h", int nLine=185)
 Instantiates the lock if not already done.
 CPLLockHolder (CPLLock *hSpin, const char *pszFile="/usr/src/RPM/BUILD/gdal-3.12.4/port/cpl_multiproc.h", int nLine=190)
 This variant assumes the lock has already been created.

Detailed Description

Object to hold a lock.

Constructor & Destructor Documentation

◆ CPLLockHolder()

CPLLockHolder::CPLLockHolder ( CPLLock * hSpin,
const char * pszFile = "/usr/src/RPM/BUILD/gdal-3.12.4/port/cpl_multiproc.h",
int nLine = 190 )
explicit

This variant assumes the lock has already been created.

If not, it will be a no-op


The documentation for this class was generated from the following files: