[vdr] Unique Timer ID

Andreas Mair andreas at vdr-developer.org
Tue Feb 24 08:11:38 CET 2009


Hi,

2009/2/23 Matthias Wächter <matthias at waechter.wiz.at>:
> Hi,
>
> just wanted to ask whether someone already thought about the idea to use
> unique timer IDs, like autoincrement, for avoiding race conditions
> between multiple users or processes adding or removing timers. The
> associated renumbering between DELT operations can lead to hitting the
> wrong timer. If all timers had unique numbers, the issue would be gone
> implicitly, but timers.conf would have to carry the ID requiring a file
> layout change.
>
> What do you think?

Why do you only want them for timers?
IMHO they should be unique for _any_ id used in SVDRP, like
recordings, channels and timers.

IIRC Klaus likes this idea but it has low priority. But he might
accept patches...

Regards,
Andreas

> – Matthias
>
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>

-- 
http://andreas.vdr-developer.org --- VDRAdmin-AM & EnigmaNG & VDRSymbols
VDR user #303



More information about the vdr mailing list