Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Lock Class Reference

#include <Syncro.h>

List of all members.

Public Methods

 Lock ()
 ~Lock ()
void lock ()
int try_lock ()
void unlock ()

Private Attributes

pthread_mutex_t * m


Constructor & Destructor Documentation

Lock::Lock  
 

Definition at line 25 of file Syncro.cpp.

References FALSE, and m.

Lock::~Lock  
 

Definition at line 35 of file Syncro.cpp.

References m.


Member Function Documentation

void Lock::lock  
 

Definition at line 45 of file Syncro.cpp.

References m.

Referenced by PostOffice::_receive(), PostOffice::_receive_any(), Master::checkingThread(), UDPConfirm::checkList(), UDPConfirm::checkN(), Master::consoleInThread(), Master::consoleOutThread(), UDPConfirm::deleteId(), UDPConfirm::deleteList(), UDPConfirm::deleteN(), Slave::dispatchMsg(), Master::dispatchMsg(), UDPConfirm::insertConfirm(), UDPConfirm::isConfirm(), UDPConfirm::isItem(), UDPConfirm::purgeIn(), PostOffice::put_back(), UDPConfirm::sendConfirm(), UDPConfirm::sendData(), UDPConfirm::sendIt(), UDPConfirm::sendStop(), Slave::startTimer(), and PostOffice::stopWait().

int Lock::try_lock  
 

Definition at line 54 of file Syncro.cpp.

References m.

void Lock::unlock  
 

Definition at line 66 of file Syncro.cpp.

References m.

Referenced by PostOffice::_receive(), PostOffice::_receive_any(), Master::checkingThread(), UDPConfirm::checkList(), UDPConfirm::checkN(), Master::consoleInThread(), Master::consoleOutThread(), UDPConfirm::deleteId(), UDPConfirm::deleteList(), UDPConfirm::deleteN(), Slave::dispatchMsg(), Master::dispatchMsg(), UDPConfirm::insertConfirm(), UDPConfirm::isConfirm(), UDPConfirm::isItem(), UDPConfirm::purgeIn(), PostOffice::put_back(), UDPConfirm::sendConfirm(), UDPConfirm::sendData(), UDPConfirm::sendIt(), UDPConfirm::sendStop(), Slave::startTimer(), and PostOffice::stopWait().


Member Data Documentation

pthread_mutex_t* Lock::m [private]
 

Definition at line 40 of file Syncro.h.

Referenced by lock(), Lock(), try_lock(), unlock(), and ~Lock().


The documentation for this class was generated from the following files:
Generated on Mon Nov 25 12:46:38 2002 for qadpz by doxygen1.2.18