HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Semaphore Class Reference

#include <IlmThreadSemaphore.h>

Public Member Functions

ILMTHREAD_EXPORT Semaphore (unsigned int value=0)
 
virtual ILMTHREAD_EXPORT ~Semaphore ()
 
ILMTHREAD_EXPORT void wait ()
 
ILMTHREAD_EXPORT bool tryWait ()
 
ILMTHREAD_EXPORT void post ()
 
ILMTHREAD_EXPORT int value () const
 

Detailed Description

Definition at line 41 of file IlmThreadSemaphore.h.

Constructor & Destructor Documentation

ILMTHREAD_EXPORT Semaphore::Semaphore ( unsigned int  value = 0)
virtual ILMTHREAD_EXPORT Semaphore::~Semaphore ( )
virtual

Member Function Documentation

ILMTHREAD_EXPORT void Semaphore::post ( )
ILMTHREAD_EXPORT bool Semaphore::tryWait ( )
ILMTHREAD_EXPORT int Semaphore::value ( ) const
ILMTHREAD_EXPORT void Semaphore::wait ( )

The documentation for this class was generated from the following file: