diff options
author | Jasmin Jessich <jasmin@anw.at> | 2017-05-14 00:52:37 +0200 |
---|---|---|
committer | Jasmin Jessich <jasmin@anw.at> | 2017-05-14 00:52:37 +0200 |
commit | 1572944ecd70e2d3f716084a058218f3e90f241d (patch) | |
tree | a9e4d561674aec9f8d8530f25d3bc6d946921c21 /epgsearch.cpp | |
parent | 7d2a5fec1e0f7f2ec079a4b8477a26ded11a53fc (diff) | |
download | vdr-plugin-live-1572944ecd70e2d3f716084a058218f3e90f241d.tar.gz vdr-plugin-live-1572944ecd70e2d3f716084a058218f3e90f241d.tar.bz2 |
Added comments concerning TODOs
Diffstat (limited to 'epgsearch.cpp')
-rw-r--r-- | epgsearch.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epgsearch.cpp b/epgsearch.cpp index 7e92a10..0b15f10 100644 --- a/epgsearch.cpp +++ b/epgsearch.cpp @@ -578,10 +578,13 @@ SearchResult::SearchResult( string const& data ) const cEvent* SearchResult::GetEvent() { - cSchedulesLock schedulesLock; + /* JJJ: Lock order wrong, fix if function is still used + * Needs to be Timers, Channels, Recordings Schedules in this sequence + */ #if VDRVERSNUM >= 20301 LOCK_SCHEDULES_READ; #else + cSchedulesLock schedulesLock; const cSchedules* Schedules = cSchedules::Schedules(schedulesLock); #endif if (!Schedules) return NULL; |