tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
SVMutex Class Reference

#include <svutil.h>

Public Member Functions

 SVMutex ()
 Sets up a new mutex. More...
 
void Lock ()
 Locks on a mutex. More...
 
void Unlock ()
 Unlocks on a mutex. More...
 

Private Attributes

pthread_mutex_t mutex_
 

Detailed Description

A mutex which encapsulates the main locking and unlocking abilites of mutexes for windows and unix.

Constructor & Destructor Documentation

◆ SVMutex()

SVMutex::SVMutex ( )

Sets up a new mutex.

Member Function Documentation

◆ Lock()

void SVMutex::Lock ( )

Locks on a mutex.

◆ Unlock()

void SVMutex::Unlock ( )

Unlocks on a mutex.

Member Data Documentation

◆ mutex_

pthread_mutex_t SVMutex::mutex_
private

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