|
tesseract
4.1.3
|
#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.
| SVSemaphore::SVSemaphore | ( | ) |
| SVSemaphore::~SVSemaphore | ( | ) |
Cleans up the mutex.
Definition at line 190 of file svutil.cpp.
| void SVSemaphore::Signal | ( | ) |
Signal a semaphore.
Definition at line 200 of file svutil.cpp.
| void SVSemaphore::Wait | ( | ) |
Wait on a semaphore.
Definition at line 210 of file svutil.cpp.