Browse Source

HPCC-16761 Remove extra critset for ESP Logging queue

Multi-thread guards are implemented at the log thread level tp
protect job queue from enqueue, dequeue, and backup logSafe file.
So, we do not need to the extra critset from SafeQueueOf. This
will improve performance.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
wangkx 8 years ago
parent
commit
95e449ba7a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      esp/logging/logginglib/logthread.hpp

+ 1 - 1
esp/logging/logginglib/logthread.hpp

@@ -47,7 +47,7 @@ class CLogThread : public Thread , implements IUpdateLogThread
 
     Owned<IEspLogAgent> logAgent;
     LOGServiceType services[MAXLOGSERVICES];
-    SafeQueueOf<IInterface, false> logQueue;
+    QueueOf<IInterface, false> logQueue;
     CriticalSection logQueueCrit;
     Semaphore       m_sem;