QSemaphore

#include <QtCore/QSemaphore>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QSemaphore


Overview

Public Functions Index

QSemaphore (int n=0)
~QSemaphore ()
voidacquire (int n=1)
intavailable () const
voidrelease (int n=1)
booltryAcquire (int n=1)
booltryAcquire (int n, int timeout)

Public Functions

QSemaphore (
  • intn)

~QSemaphore ()

Destructor.

void acquire (
  • intn)

int available ()

void release (
  • intn)

bool tryAcquire (
  • intn)

bool tryAcquire (
  • intn,
  • inttimeout )

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus