NAME
Qt::Core::QSystemSemaphore
PUBLIC METHODS
- QSystemSemaphore(const QString & key, int initialValue, QSystemSemaphore::AccessMode mode)
- QSystemSemaphore(const QString & key, int initialValue, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open)
- QSystemSemaphore(const QString & key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open)
- ~QSystemSemaphore()
- bool acquire()
- QSystemSemaphore::SystemSemaphoreError error()
- QString errorString()
- QString key()
- bool release(int n)
- bool release(int n = 1)
- void setKey(const QString & key, int initialValue, QSystemSemaphore::AccessMode mode)
- void setKey(const QString & key, int initialValue, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open)
- void setKey(const QString & key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open)
ENUM VALUES
- Open
- Create
- NoError
- PermissionDenied
- KeyError
- AlreadyExists
- NotFound
- OutOfResources
- UnknownError
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.