Re: problem in multithreaded yum display

Les Mikesell <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Ashwini Dhiman wrote:
> Yes, I was also thinking of this option. apt-get does show
> simultaneous downloads. Any idea how does apt do it???

The usual way of doing that sort of thing is to fork off several 
processes to do the work while the display code sits in a select loop 
reading status from their connected pipes and updating the screen.

-- 
   Les Mikesell
    [email protected]
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.