Re: yum source code

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

 



Hello,
According to the previous mail(below) yum's currently not
multithreaded. When the package is getting downloaded its in urlgrab()
in _getFile() function of file yumRepo.py (which is in turn called by
downloadPkgs() in file __init__.py).
How does the status bar  of download gets incremented (x% to x+1% and
hashes ###) while package is getting downloaded if code is not
currently multithreaded ??



> 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.
-- 
--Regards
--Pranjal Pandit
Computer Science Engineering Department
NIT HAMIRPUR
_______________________________________________
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