summaryrefslogtreecommitdiffstats
path: root/src/tools/tqwaitcondition_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/tqwaitcondition_unix.cpp')
-rw-r--r--src/tools/tqwaitcondition_unix.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/tqwaitcondition_unix.cpp b/src/tools/tqwaitcondition_unix.cpp
index 78fdb16bc..8067c4ace 100644
--- a/src/tools/tqwaitcondition_unix.cpp
+++ b/src/tools/tqwaitcondition_unix.cpp
@@ -216,10 +216,10 @@ void TQWaitCondition::wakeAll()
block until either of these conditions is met:
\list
\i Another thread signals it using wakeOne() or wakeAll(). This
- function will return TRUE in this case.
+ function will return true in this case.
\i \a time milliseconds has elapsed. If \a time is ULONG_MAX (the
default), then the wait will never timeout (the event must be
- signalled). This function will return FALSE if the wait timed
+ signalled). This function will return false if the wait timed
out.
\endlist
@@ -265,10 +265,10 @@ bool TQWaitCondition::wait(unsigned long time)
will block until either of these conditions is met:
\list
\i Another thread signals it using wakeOne() or wakeAll(). This
- function will return TRUE in this case.
+ function will return true in this case.
\i \a time milliseconds has elapsed. If \a time is ULONG_MAX (the
default), then the wait will never timeout (the event must be
- signalled). This function will return FALSE if the wait timed
+ signalled). This function will return false if the wait timed
out.
\endlist
@@ -281,14 +281,14 @@ bool TQWaitCondition::wait(unsigned long time)
bool TQWaitCondition::wait(TQMutex *mutex, unsigned long time)
{
if (! mutex)
- return FALSE;
+ return false;
if (mutex->d->type() == Q_MUTEX_RECURSIVE) {
#ifdef QT_CHECK_RANGE
tqWarning("Wait condition warning: using recursive mutexes with\n"
" wait conditions is undefined!");
#endif
- return FALSE;
+ return false;
}
int ret;