You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getThreadLoggingInfo(logctx, traceFlags); // Threads in pool use context that was in force when threadpool was created. This may or may not be a good idea by default!
811
-
}
819
+
CThreadPoolBase() {}
812
820
virtual~CThreadPoolBase() {}
813
821
protected:friendclassCPooledThreadWrapper;
814
822
IExceptionHandler *exceptionHandler;
@@ -823,7 +831,7 @@ protected: friend class CPooledThreadWrapper;
voidgetThreadLoggingInfo(); // Capture current thread logging context to be used by this thread when started
124
+
voidsetThreadLoggingInfo(const IContextLogger * _logctx, TraceFlags _traceFlags); // Set a specified thread logging context to be used when this thread is started
122
125
123
126
virtualvoidstart();
124
127
virtualvoidstartRelease();
@@ -174,8 +177,6 @@ class jlib_decl CThreadedPersistent
virtual PooledThreadHandle startNoBlock(void *param)=0; // starts a new thread if it can do so without blocking, else throws exception
268
269
virtualvoidsetStartDelayTracing(unsigned secs) = 0; // set start delay tracing period
269
270
virtualboolwaitAvailable(unsigned timeout) = 0; // wait until a pool member is available
271
+
virtualvoidgetThreadLoggingInfo() = 0; // Capture current thread logging context to be used by thread in pool when started
272
+
virtualvoidsetThreadLoggingInfo(const IContextLogger * _logctx, TraceFlags _traceFlags) = 0; // Set a specified thread logging context to be used by thredas in pool when started
0 commit comments