diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqwaitcondition.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip | |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqwaitcondition.3qt')
| -rw-r--r-- | doc/man/man3/tqwaitcondition.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqwaitcondition.3qt b/doc/man/man3/tqwaitcondition.3qt index 8db75baca..b06c523d6 100644 --- a/doc/man/man3/tqwaitcondition.3qt +++ b/doc/man/man3/tqwaitcondition.3qt @@ -150,9 +150,9 @@ Deletes the event signalling, i.e. wait condition, object. .SH "bool QWaitCondition::wait ( unsigned long time = ULONG_MAX )" Wait on the thread event object. The thread calling this will block until either of these conditions is met: .TP -Another thread signals it using wakeOne() or wakeAll(). This function will return TRUE in this case. +Another thread signals it using wakeOne() or wakeAll(). This function will return true in this case. .TP -\fItime\fR milliseconds has elapsed. If \fItime\fR is ULONG_MAX (the default), then the wait will never timeout (the event must be signalled). This function will return FALSE if the wait timed out. +\fItime\fR milliseconds has elapsed. If \fItime\fR is ULONG_MAX (the default), then the wait will never timeout (the event must be signalled). This function will return false if the wait timed out. .PP See also wakeOne() and wakeAll(). .SH "bool QWaitCondition::wait ( QMutex * mutex, unsigned long time = ULONG_MAX )" @@ -160,9 +160,9 @@ This is an overloaded member function, provided for convenience. It behaves esse .PP Release the locked \fImutex\fR and wait on the thread event object. The \fImutex\fR must be initially locked by the calling thread. If \fImutex\fR is not in a locked state, this function returns immediately. If \fImutex\fR is a recursive mutex, this function returns immediately. The \fImutex\fR will be unlocked, and the calling thread will block until either of these conditions is met: .TP -Another thread signals it using wakeOne() or wakeAll(). This function will return TRUE in this case. +Another thread signals it using wakeOne() or wakeAll(). This function will return true in this case. .TP -\fItime\fR milliseconds has elapsed. If \fItime\fR is ULONG_MAX (the default), then the wait will never timeout (the event must be signalled). This function will return FALSE if the wait timed out. +\fItime\fR milliseconds has elapsed. If \fItime\fR is ULONG_MAX (the default), then the wait will never timeout (the event must be signalled). This function will return false if the wait timed out. .PP The mutex will be returned to the same locked state. This function is provided to allow the atomic transition from the locked state to the wait state. .PP |
