summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqmutex.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/ntqmutex.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqmutex.html')
-rw-r--r--doc/html/ntqmutex.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/ntqmutex.html b/doc/html/ntqmutex.html
index a3fa2426f..dc00deecd 100644
--- a/doc/html/ntqmutex.html
+++ b/doc/html/ntqmutex.html
@@ -38,7 +38,7 @@ body { background: #ffffff; color: black; }
<p><a href="qmutex-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
-<li class=fn><a href="#TQMutex"><b>TQMutex</b></a> ( bool&nbsp;recursive = FALSE )</li>
+<li class=fn><a href="#TQMutex"><b>TQMutex</b></a> ( bool&nbsp;recursive = false )</li>
<li class=fn>virtual <a href="#~TQMutex"><b>~TQMutex</b></a> ()</li>
<li class=fn>void <a href="#lock"><b>lock</b></a> ()</li>
<li class=fn>void <a href="#unlock"><b>unlock</b></a> ()</li>
@@ -134,11 +134,11 @@ lock calls <a href="#unlock">unlock</a>(). A non-blocking alternative to lock()
<p>See also <a href="environment.html">Environment Classes</a> and <a href="thread.html">Threading</a>.
<hr><h2>Member Function Documentation</h2>
-<h3 class=fn><a name="TQMutex"></a>TQMutex::TQMutex ( bool&nbsp;recursive = FALSE )
+<h3 class=fn><a name="TQMutex"></a>TQMutex::TQMutex ( bool&nbsp;recursive = false )
</h3>
Constructs a new mutex. The mutex is created in an unlocked state.
-A recursive mutex is created if <em>recursive</em> is TRUE; a normal
-mutex is created if <em>recursive</em> is FALSE (the default). With a
+A recursive mutex is created if <em>recursive</em> is true; a normal
+mutex is created if <em>recursive</em> 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
<a href="#unlock">unlock</a>() calls have been made.
@@ -157,8 +157,8 @@ then this call will <em>block</em> until that thread has unlocked it.
<h3 class=fn>bool <a name="locked"></a>TQMutex::locked ()
</h3>
-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.
<p> <b>Warning:</b> 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.
@@ -167,8 +167,8 @@ previously locked the mutex will return undefined results.
<h3 class=fn>bool <a name="tryLock"></a>TQMutex::tryLock ()
</h3>
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
+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.
<p> If the lock was obtained, the mutex must be unlocked with <a href="#unlock">unlock</a>()
before another thread can successfully lock it.