summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqmutex.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-26 11:44:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-30 14:26:34 +0900
commit6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch)
tree0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqmutex.3qt
parentff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff)
downloadtqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz
tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqmutex.3qt')
-rw-r--r--doc/man/man3/tqmutex.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqmutex.3qt b/doc/man/man3/tqmutex.3qt
index f685a31f4..d2ac81b77 100644
--- a/doc/man/man3/tqmutex.3qt
+++ b/doc/man/man3/tqmutex.3qt
@@ -16,7 +16,7 @@ All the functions in this class are thread-safe when TQt is built with thread su
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBTQMutex\fR ( bool recursive = FALSE )"
+.BI "\fBTQMutex\fR ( bool recursive = false )"
.br
.ti -1c
.BI "virtual \fB~TQMutex\fR ()"
@@ -160,8 +160,8 @@ When you call lock() in a thread, other threads that try to call lock() in the s
.PP
See also Environment Classes and Threading.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "TQMutex::TQMutex ( bool recursive = FALSE )"
-Constructs a new mutex. The mutex is created in an unlocked state. A recursive mutex is created if \fIrecursive\fR is TRUE; a normal mutex is created if \fIrecursive\fR is FALSE (the default). With a recursive mutex, a thread can lock the same mutex multiple times and it will not be unlocked until a corresponding number of unlock() calls have been made.
+.SH "TQMutex::TQMutex ( bool recursive = false )"
+Constructs a new mutex. The mutex is created in an unlocked state. A recursive mutex is created if \fIrecursive\fR is true; a normal mutex is created if \fIrecursive\fR is false (the default). With a recursive mutex, a thread can lock the same mutex multiple times and it will not be unlocked until a corresponding number of unlock() calls have been made.
.SH "TQMutex::~TQMutex ()\fC [virtual]\fR"
Destroys the mutex.
.PP
@@ -171,13 +171,13 @@ Attempt to lock the mutex. If another thread has locked the mutex then this call
.PP
See also unlock() and locked().
.SH "bool TQMutex::locked ()"
-Returns TRUE if the mutex is locked by another thread; otherwise returns FALSE.
+Returns true if the mutex is locked by another thread; otherwise returns false.
.PP
\fBWarning:\fR Due to differing implementations of recursive mutexes on various platforms, calling this function from the same thread that previously locked the mutex will return undefined results.
.PP
See also lock() and unlock().
.SH "bool TQMutex::tryLock ()"
-Attempt to lock the mutex. If the lock was obtained, this function returns TRUE. If another thread has locked the mutex, this function returns FALSE, instead of waiting for the mutex to become available, i.e. it does not block.
+Attempt to lock the mutex. If the lock was obtained, this function returns true. If another thread has locked the mutex, this function returns false, instead of waiting for the mutex to become available, i.e. it does not block.
.PP
If the lock was obtained, the mutex must be unlocked with unlock() before another thread can successfully lock it.
.PP