summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-12-24 15:37:11 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-12-24 15:37:11 +0100
commitf97b1069c6bdf519fd32280b35ed66abe6c02bde (patch)
treecc2d570d206287b26bb46631f298f70ca42b46d5 /device.h
parentc49253824a46a45dac86d2a0404b9d5c6e1a92a4 (diff)
downloadvdr-f97b1069c6bdf519fd32280b35ed66abe6c02bde.tar.gz
vdr-f97b1069c6bdf519fd32280b35ed66abe6c02bde.tar.bz2
Added cDevice::mutexReceiver to avoid a race condition when attaching/detaching receivers from different threads
Diffstat (limited to 'device.h')
-rw-r--r--device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.h b/device.h
index d4bd9f23..2c147986 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 1.47 2004/12/17 13:44:34 kls Exp $
+ * $Id: device.h 1.48 2004/12/24 14:57:24 kls Exp $
*/
#ifndef __DEVICE_H
@@ -448,6 +448,7 @@ public:
// Receiver facilities
private:
+ cMutex mutexReceiver;
cReceiver *receiver[MAXRECEIVERS];
int CanShift(int Ca, int Priority, int UsedCards = 0) const;
protected: