Revision: 34244
http://sourceforge.net/p/opalvoip/code/34244
Author: rjongbloed
Date: 2015-10-27 10:26:53 +0000 (Tue, 27 Oct 2015)
Log Message:
-----------
Remove I/O abort on *nix when calling PThread::WaitForTermination(), you might actually want that last I/O operation to complete and have set that function to wait long enough for it.
Modified Paths:
--------------
ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
Modified: ptlib/trunk/src/ptlib/unix/tlibthrd.cxx
===================================================================
--- ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2015-10-26 12:10:30 UTC (rev 34243)
+++ ptlib/trunk/src/ptlib/unix/tlibthrd.cxx 2015-10-27 10:26:53 UTC (rev 34244)
@@ -856,8 +856,6 @@
PTRACE(6, "WaitForTermination on 0x" << hex << id << dec << " for " << maxWait);
- PXAbortBlock(); // this assist in clean shutdowns on some systems
-
PTimeInterval start = PTimer::Tick();
while (!IsTerminated()) {
if ((PTimer::Tick() - start) > maxWait)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|