[vdr] Unique Timer ID
Matthias Schwarzott
zzam at gentoo.org
Mon Feb 23 19:36:30 CET 2009
On Montag, 23. Februar 2009, Matthias Wächter wrote:
> 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.
>
To me this sounds like a good idea.
Even better would be to then properly protect the VDR internal data
structures, and finally just allow concurrent access to them. Like multiple
svdrp connections etc.
Matthias
More information about the vdr
mailing list