summaryrefslogtreecommitdiff
path: root/timer.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-06-11 17:49:06 +0200
committerhorchi <vdr@jwendel.de>2017-06-11 17:49:06 +0200
commit62b7aaad6475576fa8f0b415612054d36da74fc3 (patch)
treed095e4e878570d031608d499251a9da8839e5784 /timer.c
parent5e865739392dba0929e8b416f18f9688a56c86e7 (diff)
downloadvdr-plugin-epg2vdr-62b7aaad6475576fa8f0b415612054d36da74fc3.tar.gz
vdr-plugin-epg2vdr-62b7aaad6475576fa8f0b415612054d36da74fc3.tar.bz2
2017-06-11: version 1.1.67 (horchi)\n - change: Porting to VDR 2.3.7\n\n1.1.67
Diffstat (limited to 'timer.c')
-rw-r--r--timer.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/timer.c b/timer.c
index 9cc3e62..de44862 100644
--- a/timer.c
+++ b/timer.c
@@ -69,8 +69,10 @@ int cUpdate::performTimerJobs()
// get timers lock
#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
- cTimersLock timersLock(true);
- cTimers* timers = timersLock.Timers();
+ LOCK_TIMERS_WRITE;
+ cTimers* timers = Timers;
+ // cTimersLock timersLock(true);
+ // cTimers* timers = timersLock.Timers();
#else
cTimers* timers = &Timers;
#endif
@@ -78,8 +80,10 @@ int cUpdate::performTimerJobs()
// get channels lock
#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
- cChannelsLock channelsLock(false);
- const cChannels* channels = channelsLock.Channels();
+ LOCK_CHANNELS_WRITE;
+ const cChannels* channels = Channels;
+ // cChannelsLock channelsLock(false);
+ // const cChannels* channels = channelsLock.Channels();
#else
cChannels* channels = &Channels;
#endif
@@ -436,8 +440,10 @@ int cUpdate::updateTimerTable()
// get timers lock
#if defined (APIVERSNUM) && (APIVERSNUM >= 20301)
- cTimersLock timersLock(true);
- cTimers* timers = timersLock.Timers();
+ LOCK_TIMERS_WRITE;
+ cTimers* timers = Timers;
+ // cTimersLock timersLock(true);
+ // cTimers* timers = timersLock.Timers();
#else
cTimers* timers = &Timers;
#endif