QSemaphore Class Reference

QSemaphore Class Reference

#include <qsemaphore.h>

Class Description

Definition at line 57 of file qsemaphore.h.

Public Member Functions

 QSemaphore (int n=0)
 
 ~QSemaphore ()
 
void acquire (int n=1)
 
bool tryAcquire (int n=1)
 
bool tryAcquire (int n, int timeout)
 
void release (int n=1)
 
int available () const
 

Constructor & Destructor Documentation

QSemaphore ( int  n = 0)
explicit
~QSemaphore ( )

Member Function Documentation

void acquire ( int  n = 1)
bool tryAcquire ( int  n = 1)
bool tryAcquire ( int  n,
int  timeout 
)
void release ( int  n = 1)
int available ( ) const

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