From: prascle Date: Mon, 17 Oct 2005 09:20:32 +0000 (+0000) Subject: PR: try to stop trace earlier (commented: no visible effect) X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2a9cf139e76d07c5706c91119893eaf44f0aa41a;p=modules%2Fkernel.git PR: try to stop trace earlier (commented: no visible effect) --- diff --git a/src/SALOMELocalTrace/FileTraceCollector.cxx b/src/SALOMELocalTrace/FileTraceCollector.cxx index 5bceaeaab..ce198400f 100644 --- a/src/SALOMELocalTrace/FileTraceCollector.cxx +++ b/src/SALOMELocalTrace/FileTraceCollector.cxx @@ -112,7 +112,10 @@ void* FileTraceCollector::run(void *bid) while ((!_threadToClose) || myTraceBuffer->toCollect() ) { if (_threadToClose) - DEVTRACE("FileTraceCollector _threadToClose"); + { + DEVTRACE("FileTraceCollector _threadToClose"); + //break; + } int fullBuf = myTraceBuffer->retrieve(myTrace); if (myTrace.traceType == ABORT_MESS) diff --git a/src/SALOMELocalTrace/LocalTraceCollector.cxx b/src/SALOMELocalTrace/LocalTraceCollector.cxx index 6386998c5..36f4fea93 100644 --- a/src/SALOMELocalTrace/LocalTraceCollector.cxx +++ b/src/SALOMELocalTrace/LocalTraceCollector.cxx @@ -92,7 +92,10 @@ void* LocalTraceCollector::run(void *bid) while ((!_threadToClose) || myTraceBuffer->toCollect() ) { if (_threadToClose) - DEVTRACE("FileTraceCollector _threadToClose"); + { + DEVTRACE("FileTraceCollector _threadToClose"); + //break; + } int fullBuf = myTraceBuffer->retrieve(myTrace); if (myTrace.traceType == ABORT_MESS) diff --git a/src/SALOMETraceCollector/SALOMETraceCollector.cxx b/src/SALOMETraceCollector/SALOMETraceCollector.cxx index fbb0e322a..bc1e71ad7 100644 --- a/src/SALOMETraceCollector/SALOMETraceCollector.cxx +++ b/src/SALOMETraceCollector/SALOMETraceCollector.cxx @@ -123,7 +123,10 @@ void* SALOMETraceCollector::run(void *bid) while ((!_threadToClose) || myTraceBuffer->toCollect() ) { if (_threadToClose) - DEVTRACE("SALOMETraceCollector _threadToClose"); + { + DEVTRACE("SALOMETraceCollector _threadToClose"); + //break; + } int fullBuf = myTraceBuffer->retrieve(myTrace); if (!CORBA::is_nil(_orb))