Revision: 34915
http://sourceforge.net/p/opalvoip/code/34915
Author: rjongbloed
Date: 2016-08-13 14:39:22 +0000 (Sat, 13 Aug 2016)
Log Message:
-----------
Cleaned up the "Thread failed to terminate" assert output.
Modified Paths:
--------------
ptlib/branches/v2_16/src/ptlib/common/osutils.cxx
Modified: ptlib/branches/v2_16/src/ptlib/common/osutils.cxx
===================================================================
--- ptlib/branches/v2_16/src/ptlib/common/osutils.cxx 2016-08-12 15:50:03 UTC (rev 34914)
+++ ptlib/branches/v2_16/src/ptlib/common/osutils.cxx 2016-08-13 14:39:22 UTC (rev 34915)
@@ -2843,13 +2843,13 @@
}
ostringstream strm;
- strm << "Thread \"" << *thread << "\""
+ strm << "Thread \"" << *thread << "\" failed to terminate"
#if PTRACING
- "\n";
+ " at stack location:";
PTrace::WalkStack(strm, thread->GetThreadId());
- strm << " "
+ strm << "\n "
#endif
- " failed to terminate in " << maxWait << " seconds";
+ " in " << maxWait << " seconds";
PAssertAlways(strm.str().c_str());
delete thread;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|