From: Dmitry Ivankov (divanorama_at_[hidden])
Date: 2007-01-12 14:46:39
By the way, what about extending barrier so that it can use any functor not
only waiting_threads == m_threshold?
timed_barrier, which unblocks when (waiting_threads == m_threshold ||
time_since_first_wait > m_time_threshold),
and maybe unblocks in destructor.
So it'll implement scenario: do the work in groups, i.e. not very often.
That can be for example some time-expensive background cached work.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk