diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-26 11:44:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-30 14:26:34 +0900 |
commit | 6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch) | |
tree | 0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqthread.3qt | |
parent | ff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff) | |
download | tqt-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/tqthread.3qt')
-rw-r--r-- | doc/man/man3/tqthread.3qt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqthread.3qt b/doc/man/man3/tqthread.3qt index 64cb10828..c23309f57 100644 --- a/doc/man/man3/tqthread.3qt +++ b/doc/man/man3/tqthread.3qt @@ -155,7 +155,7 @@ If \fIstackSize\fR is greater than zero, the maximum stack size is set to \fIsta .SH "TQThread::~TQThread ()\fC [virtual]\fR" TQThread destructor. .PP -Note that deleting a TQThread object will not stop the execution of the thread it represents. Deleting a running TQThread (i.e. finished() returns FALSE) will probably result in a program crash. You can wait() on a thread to make sure that it has finished. +Note that deleting a TQThread object will not stop the execution of the thread it represents. Deleting a running TQThread (i.e. finished() returns false) will probably result in a program crash. You can wait() on a thread to make sure that it has finished. .SH "TQt::HANDLE TQThread::currentThread ()\fC [static]\fR" This returns the thread handle of the currently executing thread. .PP @@ -163,7 +163,7 @@ This returns the thread handle of the currently executing thread. .SH "void TQThread::exit ()\fC [static]\fR" Ends the execution of the calling thread and wakes up any threads waiting for its termination. .SH "bool TQThread::finished () const" -Returns TRUE if the thread is finished; otherwise returns FALSE. +Returns true if the thread is finished; otherwise returns false. .SH "void TQThread::msleep ( unsigned long msecs )\fC [static protected]\fR" System independent sleep. This causes the current thread to sleep for \fImsecs\fR milliseconds .SH "void TQThread::run ()\fC [pure virtual protected]\fR" @@ -171,7 +171,7 @@ This method is pure virtual, and must be implemented in derived classes in order .PP See also wait(). .SH "bool TQThread::running () const" -Returns TRUE if the thread is running; otherwise returns FALSE. +Returns true if the thread is running; otherwise returns false. .SH "void TQThread::sleep ( unsigned long secs )\fC [static protected]\fR" System independent sleep. This causes the current thread to sleep for \fIsecs\fR seconds. .SH "void TQThread::start ( Priority priority = InheritPriority )" @@ -191,9 +191,9 @@ System independent sleep. This causes the current thread to sleep for \fIusecs\f .SH "bool TQThread::wait ( unsigned long time = ULONG_MAX )" A thread calling this function will block until either of these conditions is met: .TP -The thread associated with this TQThread object has finished execution (i.e. when it returns from run()). This function will return TRUE if the thread has finished. It also returns TRUE if the thread has not been started yet. +The thread associated with this TQThread object has finished execution (i.e. when it returns from run()). This function will return true if the thread has finished. It also returns true if the thread has not been started yet. .TP -\fItime\fR milliseconds has elapsed. If \fItime\fR is ULONG_MAX (the default), then the wait will never timeout (the thread must return from run()). 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 thread must return from run()). This function will return false if the wait timed out. .PP This provides similar functionality to the POSIX \fCpthread_join()\fR function. |