From 2a9cf139e76d07c5706c91119893eaf44f0aa41a Mon Sep 17 00:00:00 2001 From: prascle Date: Mon, 17 Oct 2005 09:20:32 +0000 Subject: [PATCH] PR: try to stop trace earlier (commented: no visible effect) --- src/SALOMELocalTrace/FileTraceCollector.cxx | 5 ++++- src/SALOMELocalTrace/LocalTraceCollector.cxx | 5 ++++- src/SALOMETraceCollector/SALOMETraceCollector.cxx | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) 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)) -- 2.39.2