summaryrefslogtreecommitdiffstats
path: root/src/kernel/qthread_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qthread_unix.cpp')
-rw-r--r--src/kernel/qthread_unix.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/qthread_unix.cpp b/src/kernel/qthread_unix.cpp
index e4d6625..b8c3f0d 100644
--- a/src/kernel/qthread_unix.cpp
+++ b/src/kernel/qthread_unix.cpp
@@ -131,7 +131,7 @@ void QThreadInstance::finish( void * )
if ( ! d ) {
#ifdef QT_CHECK_STATE
- qWarning( "QThread: internal error: zero data for running thread." );
+ tqWarning( "QThread: internal error: zero data for running thread." );
#endif // QT_CHECK_STATE
return;
}
@@ -328,7 +328,7 @@ void QThread::start(Priority priority)
if (pthread_attr_getschedpolicy(&attr, &sched_policy) != 0) {
// failed to get the scheduling policy, don't bother
// setting the priority
- qWarning("QThread: cannot determine default scheduler policy");
+ tqWarning("QThread: cannot determine default scheduler policy");
break;
}
@@ -337,7 +337,7 @@ void QThread::start(Priority priority)
if (prio_min == -1 || prio_max == -1) {
// failed to get the scheduling parameters, don't
// bother setting the priority
- qWarning("QThread: cannot determine scheduler priority range");
+ tqWarning("QThread: cannot determine scheduler priority range");
break;
}
@@ -378,7 +378,7 @@ void QThread::start(Priority priority)
if ( ret ) {
#ifdef QT_CHECK_STATE
- qWarning( "QThread::start: thread stack size error: %s", strerror( ret ) ) ;
+ tqWarning( "QThread::start: thread stack size error: %s", strerror( ret ) ) ;
#endif // QT_CHECK_STATE
// we failed to set the stacksize, and as the documentation states,
@@ -402,7 +402,7 @@ void QThread::start(Priority priority)
if ( ret ) {
#ifdef QT_CHECK_STATE
- qWarning( "QThread::start: thread creation error: %s", strerror( ret ) );
+ tqWarning( "QThread::start: thread creation error: %s", strerror( ret ) );
#endif // QT_CHECK_STATE
d->running = FALSE;
@@ -439,7 +439,7 @@ bool QThread::wait( unsigned long time )
if ( d->thread_id == pthread_self() ) {
#ifdef QT_CHECK_STATE
- qWarning( "QThread::wait: thread tried to wait on itself" );
+ tqWarning( "QThread::wait: thread tried to wait on itself" );
#endif // QT_CHECK_STATE
return FALSE;
@@ -464,7 +464,7 @@ bool QThread::wait( unsigned long time )
#ifdef QT_CHECK_RANGE
if (ret && ret != ETIMEDOUT)
- qWarning("Wait condition wait failure: %s",strerror(ret));
+ tqWarning("Wait condition wait failure: %s",strerror(ret));
#endif
return (ret == 0);