title: Python threading return values
body: <p>I am new to threading an I have existing application that I would like to make a little quicker using threading.</p>
  
  <p>I have several functions that return to a main Dict and would like to send these to separate threads so that run at the same time rather than one at a time. </p>
  
  <p>I have done a little googling but I cant seem to find something that fits my existing code and could use a little help.</p>
  
  <p>I have around six functions that return to the main Dict like this:</p>
  
  <pre><code>parsed['cryptomaps'] = pipes.ConfigParse.crypto(parsed['split-config'], parsed['asax'], parsed['names'])
  </code></pre>
  
  <p>The issue here is with the return value. I understand that I would need to use a queue for this but would I need a queue for each of these six functions or one queue for all of these. If it is the later how would I separate the returns from the threads and assign the to the correct Dict entries.</p>
  
  <p>Any help on this would be great.</p>
  
  <p>John</p>