
15 Apr
2005
15 Apr
'05
9:31 a.m.
john.davison@americas.bnpparibas.com wrote:
When I see placeholder variables ("_1", "_2", etc.) in Boost.Bind, the first thing that comes to my mind is, what are the effects of this on reentrancy and thread-safety in the Boost.Bind library? What must one watch out for when attempting to use the Boost.Bind library in a multithreaded program?
I'm not sure what your concerns are. Every bind expression that uses placeholder variables makes its own copies of them, and even if it didn't, placeholders have no state.