#include <Syncro.h>
Public Methods | |
| Semaphore () | |
| Semaphore (int value, int maxvalue=-1) | |
| ~Semaphore () | |
| int | wait (int timeout=0, int waitstep=10) |
| int | try_wait () |
| void | post () |
| int | value () |
Private Attributes | |
| sem_t * | sem |
|
|
Definition at line 77 of file Syncro.cpp. References sem. |
|
||||||||||||
|
Definition at line 88 of file Syncro.cpp. References DBUG_PRINT, sem, and value(). |
|
|
Definition at line 109 of file Syncro.cpp. References sem. |
|
|
Definition at line 167 of file Syncro.cpp. References sem. Referenced by Master::checkingThread(), UDPConfirm::checkList(), Master::consoleInThread(), Master::Master(), PostOffice::put_back(), Slave::startcbTaskStop(), Master::startMaster(), PostOffice::stopWait(), UDPConfirm::waitData(), and Master::~Master(). |
|
|
Definition at line 152 of file Syncro.cpp. References sem. |
|
|
Definition at line 177 of file Syncro.cpp. References sem. Referenced by PostOffice::_receive(), PostOffice::_receive_any(), Master::consoleOutThread(), Semaphore(), and PostOffice::stopWait(). |
|
||||||||||||
|
Definition at line 119 of file Syncro.cpp. References sem, SEM_TIMEOUT, and SLEEP_MSEC. Referenced by PostOffice::_receive(), PostOffice::_receive_any(), Master::consoleOutThread(), Slave::msgTaskCtrl_Stop(), and UDPConfirm::sendData(). |
|
|
Definition at line 71 of file Syncro.h. Referenced by post(), Semaphore(), try_wait(), value(), wait(), and ~Semaphore(). |
1.2.18