diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-16 17:42:59 +0900 |
| commit | 4d495175043c399fdca6e1bb4c74ef176fc76fb4 (patch) | |
| tree | 119a6d76d177dade68b3744cb660fe26b33c9864 /doc/html/tqthread.html | |
| parent | cf2c8613706a3685266058db00c0e9f632c5bd24 (diff) | |
| download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqthread.html')
| -rw-r--r-- | doc/html/tqthread.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/tqthread.html b/doc/html/tqthread.html index 8858f4aaa..e8b8a1099 100644 --- a/doc/html/tqthread.html +++ b/doc/html/tqthread.html @@ -146,7 +146,7 @@ size is outside these limits. TQThread destructor. <p> Note that deleting a TQThread object will not stop the execution of the thread it represents. Deleting a running TQThread (i.e. -<a href="#finished">finished</a>() returns FALSE) will probably result in a program crash. +<a href="#finished">finished</a>() returns false) will probably result in a program crash. You can <a href="#wait">wait</a>() on a thread to make sure that it has finished. <h3 class=fn>TQt::HANDLE <a name="currentThread"></a>TQThread::currentThread ()<tt> [static]</tt> @@ -164,7 +164,7 @@ waiting for its termination. <h3 class=fn>bool <a name="finished"></a>TQThread::finished () const </h3> -Returns TRUE if the thread is finished; otherwise returns FALSE. +Returns true if the thread is finished; otherwise returns false. <h3 class=fn>void <a name="msleep"></a>TQThread::msleep ( unsigned long msecs )<tt> [static protected]</tt> </h3> @@ -181,7 +181,7 @@ will end the execution of the thread. <h3 class=fn>bool <a name="running"></a>TQThread::running () const </h3> -Returns TRUE if the thread is running; otherwise returns FALSE. +Returns true if the thread is running; otherwise returns false. <h3 class=fn>void <a name="sleep"></a>TQThread::sleep ( unsigned long secs )<tt> [static protected]</tt> </h3> @@ -224,11 +224,11 @@ conditions is met: <p> <ul> <li> The thread associated with this TQThread object has finished execution (i.e. when it returns from <a href="#run">run</a>()). This function -will return TRUE if the thread has finished. It also returns -TRUE if the thread has not been started yet. +will return true if the thread has finished. It also returns +true if the thread has not been started yet. <li> <em>time</em> milliseconds has elapsed. If <em>time</em> is ULONG_MAX (the default), then the wait will never timeout (the thread must -return from <a href="#run">run</a>()). This function will return FALSE if the +return from <a href="#run">run</a>()). This function will return false if the wait timed out. </ul> <p> This provides similar functionality to the POSIX <tt>pthread_join()</tt> function. |
