summaryrefslogtreecommitdiff
path: root/recmenus.c
diff options
context:
space:
mode:
authorkamel5 <kamel5 (at) gmx (dot) net>2018-03-31 15:21:32 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-01-27 11:34:22 +0100
commitc6d01ba60b75d9bb297b646895e14e9df1835807 (patch)
treee83ed1c32308437b9372646b8417c5c4c6ccde34 /recmenus.c
parentd5b3844dcc6b79b4ed5d15087bc06ce0fba442b2 (diff)
downloadvdr-plugin-tvguide-c6d01ba60b75d9bb297b646895e14e9df1835807.tar.gz
vdr-plugin-tvguide-c6d01ba60b75d9bb297b646895e14e9df1835807.tar.bz2
Eliminate deadlock in "DeleteTimer"
Diffstat (limited to 'recmenus.c')
-rw-r--r--recmenus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/recmenus.c b/recmenus.c
index 3d783a1..c6ee217 100644
--- a/recmenus.c
+++ b/recmenus.c
@@ -6,11 +6,13 @@
// --- cRecMenuMain ---------------------------------------------------------
cRecMenuMain::cRecMenuMain(bool epgSearchAvailable, bool timerActive, bool switchTimerActive) {
eRecMenuState action = rmsInstantRecord;
+ dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
if (!timerActive) {
if (tvguideConfig.instRecFolderMode == eFolderSelect)
action = rmsInstantRecordFolder;
AddMenuItem(new cRecMenuItemButton(tr("Instant Record"), action, true, false, false, true));
} else {
+ dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
AddMenuItem(new cRecMenuItemButton(tr("Delete Timer"), rmsDeleteTimer, true, false, false, true));
AddMenuItem(new cRecMenuItemButton(tr("Edit Timer"), rmsEditTimer, false, false, false, true));
}
@@ -147,6 +149,7 @@ cRecMenuConfirmTimer::cRecMenuConfirmTimer(const cEvent *event) {
// --- cRecMenuConfirmDeleteTimer ---------------------------------------------------------
cRecMenuConfirmDeleteTimer::cRecMenuConfirmDeleteTimer(const cEvent *event) {
+ dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
SetWidthPercent(50);
#if VDRVERSNUM >= 20301
LOCK_CHANNELS_READ;
@@ -174,6 +177,7 @@ cRecMenuConfirmDeleteTimer::cRecMenuConfirmDeleteTimer(const cEvent *event) {
// --- cRecMenuAskDeleteTimer ---------------------------------------------------------
cRecMenuAskDeleteTimer::cRecMenuAskDeleteTimer(const cEvent *event) {
+ dsyslog ("%s %s %d\n", __FILE__, __func__, __LINE__);
SetWidthPercent(50);
#if VDRVERSNUM >= 20301
LOCK_CHANNELS_READ;