the cache is corrected and saved

This commit is contained in:
zapek 2019-04-06 00:15:01 +02:00
parent 683e3579aa
commit 3f8611f40f
3 changed files with 35 additions and 9 deletions

View file

@ -201,7 +201,7 @@ void RsThread::start(const std::string &threadName)
if(threadName.length() > 15)
{
#ifdef DEBUG_THREADS
THREAD_DEBUG << "RsThread::start called with to long name '" << name << "' truncating..." << std::endl;
THREAD_DEBUG << "RsThread::start called with to long name '" << threadName << "' truncating..." << std::endl;
#endif
RS_pthread_setname_np(mTid, threadName.substr(0, 15).c_str());
} else {