make param functions thread-safe
Merge pull request #523 from ros/make_param_funcs_thread_safe

make param functions thread-safe