title: using Boost Thread for running a function on multiple threads with different input
body: <p>Suppose I have a function which returns a map like:</p>
  
  <pre><code>std::map&lt;std::string,std::string&gt;  functionname(string abc123)
  </code></pre>
  
  <p>How can I pass different string to same function in separate threads using boost thread??(value returned is stored in different variables)</p>