Re: does aptitude really need to lock the status database when downloading?
On Fri, Feb 04, 2011 at 10:00:40AM +0100, Olaf van der Spek wrote:
> On Fri, Feb 4, 2011 at 9:57 AM, Stanislav Maslovski
> <firstname.lastname@example.org> wrote:
> > This is possible, however, it is an extra busy work for a user. In any
> > case, I think that holding a lock only for downloading is an overkill
> > and this can be relaxed.
> What if you would launch two download-only ops at the same time?
> Isn't a lock needed in that case as well?
A per-file lock, yeah. Nothing more.
1KB // Microsoft corollary to Hanlon's razor:
// Never attribute to stupidity what can be
// adequately explained by malice.