title: Order of files downloaded by a multithreaded program is not constant
body: <p>Im using the program from:
  <a href="https://stackoverflow.com/questions/3490173/how-can-i-speed-up-fetching-pages-with-urllib2-in-python">here</a></p>
  
  <p>to download many urls at once. It works fine, but the order of the urls in the queue that is received is not the same as their order in the urls list, and its also not constant (changes from run to run). </p>
  
  <p>What can I do to either make their order constant or to know which url belongs to which index in the queue that is received.</p>
  
  <p>Thanks.</p>