From e53e43d2b85095ec24e89fb8721d9c92e13ed930 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 18 Oct 2003 12:29:08 +0200 Subject: The cThread class now accepts a 'Description' parameter --- HISTORY | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'HISTORY') diff --git a/HISTORY b/HISTORY index f65a97ab..03368edf 100644 --- a/HISTORY +++ b/HISTORY @@ -2438,3 +2438,10 @@ Video Disk Recorder Revision History - Changed thread handling to make it work with NPTL ("Native Posix Thread Library"). Thanks to Jon Burgess, Andreas Schultz, Werner Fink and Stefan Huelswitt. +- The cThread class now accepts a 'Description' parameter, which is used to log + the beginning and end of the thread, together with its process and thread id. + For descriptions that need additional parameters you can use the function + cThread::SetDescription(), which accepts 'printf()' like arguments. + Existing plugins that use threads should be changed to use this functionality + instead of explicit 'dsyslog()' calls inside their Action() function in order + to support logging the thread ids. -- cgit v1.2.3