diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-14 11:39:55 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-14 11:39:55 +0100 |
commit | 1ddda558b03078b23051bef8f3969c0d45d5ce7f (patch) | |
tree | e7b4fb17ed30fdb679837fffdf0d40dfa4f7eda9 /thread.h | |
parent | db47cdaa1a0c7f57fc826d7906a01e5e98dd719a (diff) | |
download | vdr-1ddda558b03078b23051bef8f3969c0d45d5ce7f.tar.gz vdr-1ddda558b03078b23051bef8f3969c0d45d5ce7f.tar.bz2 |
Modified the descriptions of several threads
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: thread.h 3.1 2013/04/11 08:47:31 kls Exp $ + * $Id: thread.h 3.2 2015/01/14 11:39:55 kls Exp $ */ #ifndef __THREAD_H @@ -110,12 +110,16 @@ public: cThread(const char *Description = NULL, bool LowPriority = false); ///< Creates a new thread. ///< If Description is present, a log file entry will be made when - ///< the thread starts and stops. The Start() function must be called - ///< to actually start the thread. + ///< the thread starts and stops (see SetDescription()). + ///< The Start() function must be called to actually start the thread. ///< LowPriority can be set to true to make this thread run at a lower ///< priority. virtual ~cThread(); void SetDescription(const char *Description, ...) __attribute__ ((format (printf, 2, 3))); + ///< Sets the description of this thread, which will be used when logging + ///< starting or stopping of the thread. Make sure any important information + ///< is within the first 15 characters of Description, because only these + ///< may be displayed in thread listings (like 'htop', for instance). bool Start(void); ///< Actually starts the thread. ///< If the thread is already running, nothing happens. |