diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-08 15:17:51 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-08 19:38:03 +0900 |
| commit | 7d612f7c91d55501276a385a30dbadb121e7bd9f (patch) | |
| tree | 4c6f1546e16db32779dfbf5c9e107b938faee6bb /src/kernel/tqthread.cpp | |
| parent | 5a863a8932d14b99c5f838c4efa1618070d71b29 (diff) | |
| download | tqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.tar.gz tqt-7d612f7c91d55501276a385a30dbadb121e7bd9f.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/tqthread.cpp')
| -rw-r--r-- | src/kernel/tqthread.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/tqthread.cpp b/src/kernel/tqthread.cpp index 9a1d1f602..ac6aa0ecb 100644 --- a/src/kernel/tqthread.cpp +++ b/src/kernel/tqthread.cpp @@ -159,7 +159,7 @@ TQThread::TQThread( unsigned int stackSize ) 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. + finished() returns false) will probably result in a program crash. You can wait() on a thread to make sure that it has finished. */ TQThread::~TQThread() @@ -170,7 +170,7 @@ TQThread::~TQThread() tqWarning("TQThread object destroyed while thread is still running."); #endif - d->orphan = TRUE; + d->orphan = true; return; } @@ -202,7 +202,7 @@ void TQThread::terminate() } /*! - Returns TRUE if the thread is finished; otherwise returns FALSE. + Returns true if the thread is finished; otherwise returns false. */ bool TQThread::finished() const { @@ -211,7 +211,7 @@ bool TQThread::finished() const } /*! - Returns TRUE if the thread is running; otherwise returns FALSE. + Returns true if the thread is running; otherwise returns false. */ bool TQThread::running() const { @@ -221,10 +221,10 @@ bool TQThread::running() const /*! Changes the way cross thread signals are handled - If disable is FALSE, signals emitted from this thread will be + If disable is false, signals emitted from this thread will be posted to any other connected threads' event loops (default). - If disable is TRUE, calls to emit from this thread + If disable is true, calls to emit from this thread will immediately execute slots in another thread. This mode of operation is inherently unsafe and is provided solely to support thread management by a third party application. @@ -235,7 +235,7 @@ void TQThread::setThreadPostedEventsDisabled(bool disable) } /*! - Returns TRUE if thread posted events are disabled, FALSE if not + Returns true if thread posted events are disabled, false if not */ bool TQThread::threadPostedEventsDisabled() const { |
