Suppose I have a function which returns a map like:
std::map<std::string,std::string> functionname(string abc123)
How can I pass different string to same function in separate threads using boost thread??(value returned is stored in different variables)