From: Peter Dimov (pdimov_at_[hidden])
Date: 2000-11-23 12:05:26
From: "Douglas Gregor" <gregod_at_[hidden]>
> My impression was that Peter Dimov wanted the callback to prevent multiple
concurrent invocations of the callback, but I don't see how cloning solves
this problem either. In fact, reference counting seems the better solution
in this case because the functor being called can manage concurrency.
Cloning would create a new copy of the function object, making the
concurrent invocations operate on different instances. In the absence of
static variables this should be thread safe.
-- Peter Dimov Multi Media Ltd.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk