diff options
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 308d1357b..3253fb5be 100644 --- a/doc/man/man3/tqthread.3qt +++ b/doc/man/man3/tqthread.3qt @@ -158,7 +158,7 @@ If \fIstackSize\fR is greater than zero, the maximum stack size is set to \fIsta .SH "QThread::~QThread ()\fC [virtual]\fR" QThread destructor. .PP -Note that deleting a QThread object will not stop the execution of the thread it represents. Deleting a running QThread (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 QThread object will not stop the execution of the thread it represents. Deleting a running QThread (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 QThread::currentThread ()\fC [static]\fR" This returns the thread handle of the currently executing thread. .PP @@ -166,7 +166,7 @@ This returns the thread handle of the currently executing thread. .SH "void QThread::exit ()\fC [static]\fR" Ends the execution of the calling thread and wakes up any threads waiting for its termination. .SH "bool QThread::finished () const" -Returns TRUE if the thread is finished; otherwise returns FALSE. +Returns true if the thread is finished; otherwise returns false. .SH "void QThread::msleep ( unsigned long msecs )\fC [static protected]\fR" System independent sleep. This causes the current thread to sleep for \fImsecs\fR milliseconds .SH "void QThread::postEvent ( TQObject * receiver, QEvent * event )\fC [static]\fR" @@ -178,7 +178,7 @@ This method is pure virtual, and must be implemented in derived classes in order .PP See also wait(). .SH "bool QThread::running () const" -Returns TRUE if the thread is running; otherwise returns FALSE. +Returns true if the thread is running; otherwise returns false. .SH "void QThread::sleep ( unsigned long secs )\fC [static protected]\fR" System independent sleep. This causes the current thread to sleep for \fIsecs\fR seconds. .SH "void QThread::start ( Priority priority = InheritPriority )" @@ -198,9 +198,9 @@ System independent sleep. This causes the current thread to sleep for \fIusecs\f .SH "bool QThread::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 QThread 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 QThread 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. |
