Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::LinuxSemaphorePeer Class Reference

Class LinuxSemaphorePeer. More...

#include <LinuxSemaphorePeer.h>

Inheritance diagram for VCF::LinuxSemaphorePeer:

VCF::Object VCF::SemaphorePeer List of all members.

Public Member Functions

 LinuxSemaphorePeer (int32 initialCount, int32 maxCount)
virtual ~LinuxSemaphorePeer ()
virtual bool lock ()
virtual bool lock (uint32 timeoutInMilliseconds)
virtual bool unlock ()
virtual OSHandleID getHandleID ()

Protected Attributes

sem_t semaphore_

Detailed Description

Class LinuxSemaphorePeer.

Author:
Jim Crafton, May 26 2002


Constructor & Destructor Documentation

VCF::LinuxSemaphorePeer::LinuxSemaphorePeer int32  initialCount,
int32  maxCount
 

virtual VCF::LinuxSemaphorePeer::~LinuxSemaphorePeer  )  [virtual]
 


Member Function Documentation

virtual OSHandleID VCF::LinuxSemaphorePeer::getHandleID  )  [inline, virtual]
 

Implements VCF::SemaphorePeer.

virtual bool VCF::LinuxSemaphorePeer::lock uint32  timeoutInMilliseconds  )  [virtual]
 

Implements VCF::SemaphorePeer.

virtual bool VCF::LinuxSemaphorePeer::lock  )  [virtual]
 

Implements VCF::SemaphorePeer.

virtual bool VCF::LinuxSemaphorePeer::unlock  )  [virtual]
 

Implements VCF::SemaphorePeer.


Member Data Documentation

sem_t VCF::LinuxSemaphorePeer::semaphore_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information