Re: yum simultaneous download of packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pranjal pandit <pranjal5215@xxxxxxxxx> writes:

> Hello,
> i am working on downloading two packages simultaneously from different
> mirrors and i want some information regarding the same.

 Why are you limiting to different mirrors?

> 1)I want to know whether the downloadPkgs() function is the main
> function responsible for downloading of packages,

 Yes.

> also,
> 2)what all things currently run in parallel with packages getting
> downloaded (downloadPkgs() function)

 Nothing, yum is unlikely to ever be multi-threaded. And is currently
not multi-tasking or doing downloads via. a poll/epoll like backend.

> 3)What all things are done in downloadPkgs() function itself.

 Whatever the code says :)
 Mostly it's all to do with UI around a simple:

for pkg in packages_that_need_to_be_downloaded:
   pkg.download().

-- 
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux