Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: multiple connects to svdrp!?
"Ulrich Petri" <ulope@gmx.de> wrote:
> > The problems start when two different clients try to, for instance,
> > manipulate the timers. Imagine the following:
> >
> > - client 1 does LSTT and gets a list of 10 timers, numbered 1...10
> > - client 2 does the same and gets the same list
> > - client 1 deletes timer 5
> > - client 2 deletes timer 8 - OOPS! what used to be timer 8
> > would now be
> > timer 7! So client 2 actually deletes the old timer 9!
> >
>
> This is the same problem as with the channel list.
> There would have to be an immutable id for each
> (timer/recording/whatever).
> But that would imho be a rather big rewrite....
>
> So its certainly better to release (from the client app) the svdrp
> connection as soon as possible.
hmm, i can't see the difference between multiple svdr connections and
ONE svdr connection AND parallel user input via remote control AND
keyboard. the missing locking design problem is allready there. not that
i want sound offensive, but is it really that hard to put some mutex
locks around the potantially critical code?
just curios ...
clemens
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index