summaryrefslogtreecommitdiff
path: root/timer_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'timer_thread.c')
-rw-r--r--timer_thread.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/timer_thread.c b/timer_thread.c
index 306d10a..e4c8be1 100644
--- a/timer_thread.c
+++ b/timer_thread.c
@@ -89,11 +89,17 @@ void cTimerThread::Action(void)
m_Active=false;
break;
}
+#if VDRVERSNUM > 20300
+ {
+ LOCK_TIMERS_READ;
+ }
+#else
if (Timers.BeingEdited())
{
sleepSec(1);
continue;
}
+#endif
bool bSuccess = SendViaSVDRP(m_cmd);
if (!bSuccess)
{