diff options
Diffstat (limited to 'CommonLibs/Threads.cpp')
-rw-r--r-- | CommonLibs/Threads.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CommonLibs/Threads.cpp b/CommonLibs/Threads.cpp index a98183a..b6750ab 100644 --- a/CommonLibs/Threads.cpp +++ b/CommonLibs/Threads.cpp @@ -49,7 +49,7 @@ void lockCout() { gStreamLock.lock(); Timeval entryTime; - cout << entryTime << " " << pthread_self() << ": "; + cout << entryTime << " " << osmo_gettid() << ": "; } @@ -64,7 +64,7 @@ void lockCerr() { gStreamLock.lock(); Timeval entryTime; - cerr << entryTime << " " << pthread_self() << ": "; + cerr << entryTime << " " << osmo_gettid() << ": "; } void unlockCerr() |