Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-04-20 19:50:27

Rene Rivera wrote:

> Not that the use case makes any sense to me :-( So I'm still guessing
> as to what you want to achieve with thread safety here.

The idea is that the function f - if we use an ordinary C callback instead
of make_c_function - is thread safe when called at the same time from
multiple threads to sort different arrays. make_c_function breaks this
thread safety because of its assignments to the underlying boost::function.

I think.

Boost list run by bdawes at, gregod at, cpdaniel at, john at