Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MNSemDebug Class Reference

#include <MNSem.h>

Inheritance diagram for MNSemDebug:

Inheritance graph
[legend]
Collaboration diagram for MNSemDebug:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MNSemDebug (const char *owner)
 ~MNSemDebug ()
void signal ()
void broadcast ()
void wait (MNMutex &m)

Constructor & Destructor Documentation

MNSemDebug::MNSemDebug const char *  owner  ) 
 

MNSemDebug::~MNSemDebug  ) 
 


Member Function Documentation

void MNSemDebug::broadcast  ) 
 

Unblocks a condition variable. If no thread is waiting for the condition variable, nothing happens. Otherwise all waiting threads are unblocked and compete for the given mutex(es).

Reimplemented from MNSem.

void MNSemDebug::signal  ) 
 

Unblocks a condition variable. If no thread is waiting for the condition variable, nothing happens. Otherwise one (AIX: at least one) (Linux: exactly one) thread is unblocked.

Reimplemented from MNSem.

void MNSemDebug::wait MNMutex m  ) 
 

Unlock the given mutex and wait until the the condition variable is unblocked. Than try to lock the mutex again.

Parameters:
m A mutex that must be locked by the calling thread.

Reimplemented from MNSem.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:02 2005 for Komssys by doxygen 1.3.8