Re: yum source code

pranjal pandit <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.