diff options
Diffstat (limited to 'src/tools/qthreadstorage_unix.cpp')
-rw-r--r-- | src/tools/qthreadstorage_unix.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/qthreadstorage_unix.cpp b/src/tools/qthreadstorage_unix.cpp index 05b86b954..df4c3866f 100644 --- a/src/tools/qthreadstorage_unix.cpp +++ b/src/tools/qthreadstorage_unix.cpp @@ -80,7 +80,7 @@ TQThreadStorageData::TQThreadStorageData( void (*func)( void * ) ) thread_storage_usage[id].func = func; #ifdef TQTHREADSTORAGE_DEBUG - qDebug( "TQThreadStorageData: allocated id %d", id ); + tqDebug( "TQThreadStorageData: allocated id %d", id ); #endif // TQTHREADSTORAGE_DEBUG pthread_mutex_unlock( &thread_storage_mutex ); @@ -93,7 +93,7 @@ TQThreadStorageData::~TQThreadStorageData() thread_storage_usage[id].func = 0; #ifdef TQTHREADSTORAGE_DEBUG - qDebug( "TQThreadStorageData: released id %d", id ); + tqDebug( "TQThreadStorageData: released id %d", id ); #endif // TQTHREADSTORAGE_DEBUG pthread_mutex_unlock( &thread_storage_mutex ); @@ -103,7 +103,7 @@ void **TQThreadStorageData::get() const { TQThreadInstance *d = TQThreadInstance::current(); if (!d) { - qWarning("TQThreadStorage can only be used with threads started with TQThread"); + tqWarning("TQThreadStorage can only be used with threads started with TQThread"); return 0; } TQMutexLocker locker( d->mutex() ); @@ -114,13 +114,13 @@ void **TQThreadStorageData::set( void *p ) { TQThreadInstance *d = TQThreadInstance::current(); if (!d) { - qWarning("TQThreadStorage can only be used with threads started with TQThread"); + tqWarning("TQThreadStorage can only be used with threads started with TQThread"); return 0; } TQMutexLocker locker( d->mutex() ); if ( !d->thread_storage ) { #ifdef TQTHREADSTORAGE_DEBUG - qDebug( "TQThreadStorageData: allocating storage for thread %lx", + tqDebug( "TQThreadStorageData: allocating storage for thread %lx", (unsigned long) pthread_self() ); #endif // TQTHREADSTORAGE_DEBUG @@ -142,7 +142,7 @@ void TQThreadStorageData::finish( void **thread_storage ) if ( ! thread_storage ) return; // nothing to do #ifdef TQTHREADSTORAGE_DEBUG - qDebug( "TQThreadStorageData: destroying storage for thread %lx", + tqDebug( "TQThreadStorageData: destroying storage for thread %lx", (unsigned long) pthread_self() ); #endif // TQTHREADSTORAGE_DEBUG @@ -150,7 +150,7 @@ void TQThreadStorageData::finish( void **thread_storage ) if ( ! thread_storage[i] ) continue; if ( ! thread_storage_usage[i].used ) { #ifdef QT_CHECK_STATE - qWarning( "TQThreadStorage: thread %lx exited after TQThreadStorage destroyed", + tqWarning( "TQThreadStorage: thread %lx exited after TQThreadStorage destroyed", (unsigned long) pthread_self() ); #endif // QT_CHECK_STATE continue; |