[Yum] yum source code

pranjal pandit pranjal5215 at gmail.com
Sun Mar 22 15:24:20 UTC 2009


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


More information about the Yum mailing list