Im trying to create a boost thread which executes the following static function.
Updater::UpdateTrack(const std::string& sFolder)
{
//Do something
}
I cant seem to figure out how to pass the argument to the function i tried the following:
m_UpdateThread = boost::thread(&Updater::UpdateTrack,"test");
m_UpdateThread = boost::thread(boost::bind(&Updater::UpdateTrack,"test"));
Hope someone can point me in the right direction