diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:16 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:16 +0000 |
commit | be4401bfa4a240bbc894e1bfeb1e1e8d63fc7b18 (patch) | |
tree | 3d48bdf9a7abff3b51c02323ea1ed26767d576d7 /apt-pkg/acquire.cc | |
parent | f0a53b6301cd1f5d0878f2d6ed21811d70a86f9a (diff) |
New http method
Author: jgg
Date: 1998-11-01 05:27:29 GMT
New http method
Diffstat (limited to 'apt-pkg/acquire.cc')
-rw-r--r-- | apt-pkg/acquire.cc | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc index 3ed0e5d28..91b2a7590 100644 --- a/apt-pkg/acquire.cc +++ b/apt-pkg/acquire.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire.cc,v 1.6 1998/10/30 07:53:37 jgg Exp $ +// $Id: acquire.cc,v 1.7 1998/11/01 05:27:34 jgg Exp $ /* ###################################################################### Acquire - File Acquiration @@ -290,21 +290,23 @@ bool pkgAcquire::Run() if (_error->PendingError() == true) break; } - + + // Shut down the acquire bits + Running = false; for (Queue *I = Queues; I != 0; I = I->Next) I->Shutdown(); - Running = false; return _error->PendingError(); } /*}}}*/ -// pkgAcquire::Bump - Called when an item is dequeued /*{{{*/ +// Acquire::Bump - Called when an item is dequeued /*{{{*/ // --------------------------------------------------------------------- /* This routine bumps idle queues in hopes that they will be able to fetch the dequeued item */ void pkgAcquire::Bump() { - + for (Queue *I = Queues; I != 0; I = I->Next) + I->Bump(); } /*}}}*/ @@ -476,3 +478,10 @@ bool pkgAcquire::Queue::Cycle() return Workers->QueueItem(I); } /*}}}*/ +// Queue::Bump - Fetch any pending objects if we are idle /*{{{*/ +// --------------------------------------------------------------------- +/* */ +void pkgAcquire::Queue::Bump() +{ +} + /*}}}*/ |