- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# QSemaphore Class Reference

Search for all occurrences

## Detailed Description

Definition at line 57 of file qsemaphore.h.

`#include <qsemaphore.h>`

List of all members.

## 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` | ) |

Search for all occurrences

bool tryAcquire | ( | int | n = `1` | ) |

Search for all occurrences

bool tryAcquire | ( | int | n,
|  | int | timeout
| ) |  |

Search for all occurrences

void release | ( | int | n = `1` | ) |

Search for all occurrences

int available | ( |  | ) | const

Search for all occurrences

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

- QtCore/qsemaphore.h

QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore
QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore QSemaphore