summaryrefslogtreecommitdiffstats
path: root/src/tools/qthreadstorage_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qthreadstorage_unix.cpp')
-rw-r--r--src/tools/qthreadstorage_unix.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/qthreadstorage_unix.cpp b/src/tools/qthreadstorage_unix.cpp
index 248a0ad..63dbb7a 100644
--- a/src/tools/qthreadstorage_unix.cpp
+++ b/src/tools/qthreadstorage_unix.cpp
@@ -80,7 +80,7 @@ QThreadStorageData::QThreadStorageData( void (*func)( void * ) )
thread_storage_usage[id].func = func;
#ifdef QTHREADSTORAGE_DEBUG
- qDebug( "QThreadStorageData: allocated id %d", id );
+ tqDebug( "QThreadStorageData: allocated id %d", id );
#endif // QTHREADSTORAGE_DEBUG
pthread_mutex_unlock( &thread_storage_mutex );
@@ -93,7 +93,7 @@ QThreadStorageData::~QThreadStorageData()
thread_storage_usage[id].func = 0;
#ifdef QTHREADSTORAGE_DEBUG
- qDebug( "QThreadStorageData: released id %d", id );
+ tqDebug( "QThreadStorageData: released id %d", id );
#endif // QTHREADSTORAGE_DEBUG
pthread_mutex_unlock( &thread_storage_mutex );
@@ -103,7 +103,7 @@ void **QThreadStorageData::get() const
{
QThreadInstance *d = QThreadInstance::current();
if (!d) {
- qWarning("QThreadStorage can only be used with threads started with QThread");
+ tqWarning("QThreadStorage can only be used with threads started with QThread");
return 0;
}
QMutexLocker locker( d->mutex() );
@@ -114,13 +114,13 @@ void **QThreadStorageData::set( void *p )
{
QThreadInstance *d = QThreadInstance::current();
if (!d) {
- qWarning("QThreadStorage can only be used with threads started with QThread");
+ tqWarning("QThreadStorage can only be used with threads started with QThread");
return 0;
}
QMutexLocker locker( d->mutex() );
if ( !d->thread_storage ) {
#ifdef QTHREADSTORAGE_DEBUG
- qDebug( "QThreadStorageData: allocating storage for thread %lx",
+ tqDebug( "QThreadStorageData: allocating storage for thread %lx",
(unsigned long) pthread_self() );
#endif // QTHREADSTORAGE_DEBUG
@@ -142,7 +142,7 @@ void QThreadStorageData::finish( void **thread_storage )
if ( ! thread_storage ) return; // nothing to do
#ifdef QTHREADSTORAGE_DEBUG
- qDebug( "QThreadStorageData: destroying storage for thread %lx",
+ tqDebug( "QThreadStorageData: destroying storage for thread %lx",
(unsigned long) pthread_self() );
#endif // QTHREADSTORAGE_DEBUG
@@ -150,7 +150,7 @@ void QThreadStorageData::finish( void **thread_storage )
if ( ! thread_storage[i] ) continue;
if ( ! thread_storage_usage[i].used ) {
#ifdef QT_CHECK_STATE
- qWarning( "QThreadStorage: thread %lx exited after QThreadStorage destroyed",
+ tqWarning( "QThreadStorage: thread %lx exited after QThreadStorage destroyed",
(unsigned long) pthread_self() );
#endif // QT_CHECK_STATE
continue;