diff options
Diffstat (limited to 'src/corelib/kernel/qsystemsemaphore.cpp')
-rw-r--r-- | src/corelib/kernel/qsystemsemaphore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qsystemsemaphore.cpp b/src/corelib/kernel/qsystemsemaphore.cpp index 46269c5a24..6f0e5ee011 100644 --- a/src/corelib/kernel/qsystemsemaphore.cpp +++ b/src/corelib/kernel/qsystemsemaphore.cpp @@ -261,7 +261,7 @@ QString QSystemSemaphore::key() const /*! Acquires one of the resources guarded by this semaphore, if there is - one available, and returns true. If all the resources guarded by this + one available, and returns \c true. If all the resources guarded by this semaphore have already been acquired, the call blocks until one of them is released by another process or thread having a semaphore with the same key. @@ -278,7 +278,7 @@ bool QSystemSemaphore::acquire() } /*! - Releases \a n resources guarded by the semaphore. Returns true + Releases \a n resources guarded by the semaphore. Returns \c true unless there is a system error. Example: Create a system semaphore having five resources; acquire |