diff options
author | RJ Ryan <rryan@mixxx.org> | 2014-04-04 12:35:59 -0400 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2014-04-04 12:35:59 -0400 |
commit | 0da8db692482cbc1ab5580c115d4ea3cdca5f78a (patch) | |
tree | 89a363395095a3844de2d516a749d5309f08081c /src/cachingreaderworker.cpp | |
parent | 8ff55d2498b21af1cd654e1540caf409e6b24478 (diff) |
Add thread names for CachingReaderWorkers.
Diffstat (limited to 'src/cachingreaderworker.cpp')
-rw-r--r-- | src/cachingreaderworker.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cachingreaderworker.cpp b/src/cachingreaderworker.cpp index aa32a95f31..34c930e6aa 100644 --- a/src/cachingreaderworker.cpp +++ b/src/cachingreaderworker.cpp @@ -107,6 +107,9 @@ void CachingReaderWorker::newTrack(TrackPointer pTrack) { } void CachingReaderWorker::run() { + unsigned static id = 0; //the id of this thread, for debugging purposes + QThread::currentThread()->setObjectName(QString("CachingReaderWorker %1").arg(++id)); + TrackPointer pLoadTrack; ChunkReadRequest request; ReaderStatusUpdate status; |