Is it better to use threads or fork in the following case

Diez B. Roggisch deets at
Mon May 4 05:14:38 EDT 2009

CTO wrote:

>> In addition, the zip file format stores the directory at the end of the
>> file. So you can't process it until it's completely downloaded.
>> Concurrency doesn't help here.
> Don't think that's relevant, if I'm understanding the OP correctly.
> Lets say you've downloaded the file once and you're doing whatever
> the app does with it. Now, while that's happening the half an hour
> time limit comes up. Now you want to start another download, but
> you also want to continue to work with the old version. Voila,
> concurrency.

Which brings us backs to the "20 questions"-part of my earlier post. It
could be, but it could also be that processing takes seconds. Or it takes
so long that even concurrency won't help. Who knows?


More information about the Python-list mailing list