diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-12-24 15:37:11 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-12-24 15:37:11 +0100 |
commit | f97b1069c6bdf519fd32280b35ed66abe6c02bde (patch) | |
tree | cc2d570d206287b26bb46631f298f70ca42b46d5 /device.h | |
parent | c49253824a46a45dac86d2a0404b9d5c6e1a92a4 (diff) | |
download | vdr-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |