Date: 2001-05-23 16:22:07
--- In boost_at_y..., Douglas Gregor <gregod_at_c...> wrote:
> On Wednesday 23 May 2001 13:21, you wrote:
> Perhaps not in a first release of the threads library, but one
> expression templates to make "i = (i+2)/2" safe. Delay evaluation
> assignment operation is reached. On assignment it acquires a lock,
> the evaluation and assignment, and then releases the lock.
That's an interesting idea. Definately something for someone to look
into at some point, but as you say, not appropriate for a first
release (or a second, or a third...).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk