
2 Mar
2007
2 Mar
'07
12:32 p.m.
On Thu, 01 Mar 2007 19:32:33 +0000, Steven Watanabe wrote:
it isn't ok.
boost/function/function_template.hpp lines 653-659
template<typename Functor> void assign_to(Functor f) { static vtable_type stored_vtable(f); if (stored_vtable.assign_to(f, functor)) vtable = &stored_vtable; else vtable = 0; }
function static is not thread safe
You've just succeeded in scaring the hell out of me. Just how unsafe is boost::function? -braddock