]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: try to stop trace earlier (commented: no visible effect)
authorprascle <prascle>
Mon, 17 Oct 2005 09:20:32 +0000 (09:20 +0000)
committerprascle <prascle>
Mon, 17 Oct 2005 09:20:32 +0000 (09:20 +0000)
src/SALOMELocalTrace/FileTraceCollector.cxx
src/SALOMELocalTrace/LocalTraceCollector.cxx
src/SALOMETraceCollector/SALOMETraceCollector.cxx

index 5bceaeaab4eff8c1151778938149902a4f406e75..ce198400fb0c7cc2f36403e85a4a7dac9e564196 100644 (file)
@@ -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)
index 6386998c55d3cc0597982c613c0cf12086691ba1..36f4fea933bef225e5f9bdfeb63a05808f78edaa 100644 (file)
@@ -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)
index fbb0e322a17379eef58b8037e909dbebe8d6d7c9..bc1e71ad711bde023f261877b386e8c39935632c 100644 (file)
@@ -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))