[boost] [thread] how to pass a parameter to threadfunc