diff options
author | Timothy Pearson <[email protected]> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /src/kernel/qlock.cpp | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
Diffstat (limited to 'src/kernel/qlock.cpp')
-rw-r--r-- | src/kernel/qlock.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/qlock.cpp b/src/kernel/qlock.cpp index d470c512c..49edf98ca 100644 --- a/src/kernel/qlock.cpp +++ b/src/kernel/qlock.cpp @@ -138,9 +138,9 @@ TQLock::TQLock( const TQString &filename, char id, bool create ) } #endif if ( data->id == -1 ) { - qWarning( "Cannot %s semaphore %s \'%c\'", + tqWarning( "Cannot %s semaphore %s \'%c\'", create ? "create" : "get", filename.latin1(), id ); - qDebug("Error %d %s\n",errno,strerror(errno)); + tqDebug("Error %d %s\n",errno,strerror(errno)); } #endif } @@ -211,7 +211,7 @@ void TQLock::lock( Type t ) for( int rv=1; rv; ) { rv = flock(data->id, op); if (rv == -1 && errno != EINTR) - qDebug("Semop lock failure %s",strerror(errno)); + tqDebug("Semop lock failure %s",strerror(errno)); } #else sembuf sops; @@ -230,7 +230,7 @@ void TQLock::lock( Type t ) do { rv = semop(data->id,&sops,1); if (rv == -1 && errno != EINTR) - qDebug("Semop lock failure %s",strerror(errno)); + tqDebug("Semop lock failure %s",strerror(errno)); } while ( rv == -1 && errno == EINTR ); #endif } @@ -256,7 +256,7 @@ void TQLock::unlock() for( int rv=1; rv; ) { rv = flock(data->id, LOCK_UN); if (rv == -1 && errno != EINTR) - qDebug("Semop lock failure %s",strerror(errno)); + tqDebug("Semop lock failure %s",strerror(errno)); } #else sembuf sops; @@ -270,12 +270,12 @@ void TQLock::unlock() do { rv = semop(data->id,&sops,1); if (rv == -1 && errno != EINTR) - qDebug("Semop unlock failure %s",strerror(errno)); + tqDebug("Semop unlock failure %s",strerror(errno)); } while ( rv == -1 && errno == EINTR ); #endif } } else { - qDebug("Unlock without corresponding lock"); + tqDebug("Unlock without corresponding lock"); } #endif } |