Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
95e449ba7a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;