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.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/kernel/qthread_unix.cpp b/src/kernel/qthread_unix.cpp
index 35de76021..73319b64a 100644
--- a/src/kernel/qthread_unix.cpp
+++ b/src/kernel/qthread_unix.cpp
@@ -131,7 +131,7 @@ void TQThreadInstance::finish( void * )
if ( ! d ) {
#ifdef QT_CHECK_STATE
- qWarning( "TQThread: internal error: zero data for running thread." );
+ tqWarning( "TQThread: internal error: zero data for running thread." );
#endif // QT_CHECK_STATE
return;
}
@@ -188,8 +188,8 @@ TQt::HANDLE TQThread::currentThread()
*/
void TQThread::initialize()
{
- if ( ! qt_global_mutexpool )
- qt_global_mutexpool = new TQMutexPool( TRUE, 73 );
+ if ( ! tqt_global_mutexpool )
+ tqt_global_mutexpool = new TQMutexPool( TRUE, 73 );
if ( ! qt_thread_mutexpool )
qt_thread_mutexpool = new TQMutexPool( FALSE, 127 );
@@ -202,9 +202,9 @@ void TQThread::initialize()
*/
void TQThread::cleanup()
{
- delete qt_global_mutexpool;
+ delete tqt_global_mutexpool;
delete qt_thread_mutexpool;
- qt_global_mutexpool = 0;
+ tqt_global_mutexpool = 0;
qt_thread_mutexpool = 0;
TQThreadInstance::finish(&main_instance);
@@ -328,7 +328,7 @@ void TQThread::start(Priority priority)
if (pthread_attr_getschedpolicy(&attr, &sched_policy) != 0) {
// failed to get the scheduling policy, don't bother
// setting the priority
- qWarning("TQThread: cannot determine default scheduler policy");
+ tqWarning("TQThread: cannot determine default scheduler policy");
break;
}
@@ -337,7 +337,7 @@ void TQThread::start(Priority priority)
if (prio_min == -1 || prio_max == -1) {
// failed to get the scheduling parameters, don't
// bother setting the priority
- qWarning("TQThread: cannot determine scheduler priority range");
+ tqWarning("TQThread: cannot determine scheduler priority range");
break;
}
@@ -378,7 +378,7 @@ void TQThread::start(Priority priority)
if ( ret ) {
#ifdef QT_CHECK_STATE
- qWarning( "TQThread::start: thread stack size error: %s", strerror( ret ) ) ;
+ tqWarning( "TQThread::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 TQThread::start(Priority priority)
if ( ret ) {
#ifdef QT_CHECK_STATE
- qWarning( "TQThread::start: thread creation error: %s", strerror( ret ) );
+ tqWarning( "TQThread::start: thread creation error: %s", strerror( ret ) );
#endif // QT_CHECK_STATE
d->running = FALSE;
@@ -439,7 +439,7 @@ bool TQThread::wait( unsigned long time )
if ( d->thread_id == pthread_self() ) {
#ifdef QT_CHECK_STATE
- qWarning( "TQThread::wait: thread tried to wait on itself" );
+ tqWarning( "TQThread::wait: thread tried to wait on itself" );
#endif // QT_CHECK_STATE
return FALSE;
@@ -464,7 +464,7 @@ bool TQThread::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);