summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-03 10:20:41 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-03 10:20:41 +0100
commitc01259dbb5cf56490de58d6021c9c2fd135d7c66 (patch)
tree2d850c3d97f7bcdab4f4acaa6a0576ad842a4f40 /thread.h
parent86197f02060c594f0ec46a64b614215dcb5d28b6 (diff)
downloadvdr-c01259dbb5cf56490de58d6021c9c2fd135d7c66.tar.gz
vdr-c01259dbb5cf56490de58d6021c9c2fd135d7c66.tar.bz2
Fixed setting the main thread id if VDR is running as a daemon
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index e3bdccff..e9ccdb31 100644
--- a/thread.h
+++ b/thread.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: thread.h 1.33 2005/12/11 12:04:56 kls Exp $
+ * $Id: thread.h 1.34 2006/01/03 10:10:32 kls Exp $
*/
#ifndef __THREAD_H
@@ -117,6 +117,7 @@ public:
static bool EmergencyExit(bool Request = false);
static tThreadId ThreadId(void);
static tThreadId IsMainThread(void) { return ThreadId() == mainThreadId; }
+ static void SetMainThreadId(void);
};
// cMutexLock can be used to easily set a lock on mutex and make absolutely