|
tesseract
5.0.0
|
#include <svutil.h>
Public Member Functions | |
| SVSemaphore () | |
| Sets up a semaphore. More... | |
| ~SVSemaphore () | |
| Cleans up the mutex. More... | |
| void | Signal () |
| Signal a semaphore. More... | |
| void | Wait () |
| Wait on a semaphore. More... | |
A semaphore class which encapsulates the main signaling and wait abilities of semaphores for windows and unix.
| tesseract::SVSemaphore::SVSemaphore | ( | ) |
| tesseract::SVSemaphore::~SVSemaphore | ( | ) |
Cleans up the mutex.
Definition at line 133 of file svutil.cpp.
| void tesseract::SVSemaphore::Signal | ( | ) |
Signal a semaphore.
Definition at line 143 of file svutil.cpp.
| void tesseract::SVSemaphore::Wait | ( | ) |
Wait on a semaphore.
Definition at line 153 of file svutil.cpp.