QSystemSemaphore

#include <QtCore/QSystemSemaphore>

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


Overview

Public Types Index

Public Functions Index

QSystemSemaphore (const QString &key, int initialValue=0, AccessMode mode=Open)
~QSystemSemaphore ()
boolacquire ()
SystemSemaphoreErrorerror () const
QStringerrorString () const
QStringkey () const
boolrelease (int n=1)
voidsetKey (const QString &key, int initialValue=0, AccessMode mode=Open)

Public Types

AccessMode

Open
Create

SystemSemaphoreError

NoError
PermissionDenied
KeyError
AlreadyExists
NotFound
OutOfResources
UnknownError

Public Functions

QSystemSemaphore (
  • const QString &key,
  • intinitialValue,
  • AccessModemode )

~QSystemSemaphore ()

Destructor.

bool acquire ()

SystemSemaphoreError error ()

QString errorString ()

QString key ()

bool release (
  • intn)

void setKey (
  • const QString &key,
  • intinitialValue,
  • AccessModemode )

Last modified: 2015-07-24



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

comments powered by Disqus