diff options
author | horchi <vdr@jwendel.de> | 2017-06-11 17:49:06 +0200 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-06-11 17:49:06 +0200 |
commit | 62b7aaad6475576fa8f0b415612054d36da74fc3 (patch) | |
tree | d095e4e878570d031608d499251a9da8839e5784 /timer.c | |
parent | 5e865739392dba0929e8b416f18f9688a56c86e7 (diff) | |
download | vdr-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.c | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -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 |