|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-04-15 04:31:57
john.davison_at_[hidden] 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net