Subject: Re: [boost] Futures - callback before and after setting
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-01-15 13:01:32


Hi,

sometime ago Peter Dimov asked if the effects of a set callback (ala Braddock ) is guaranteed to be observed by a task waiting on a future. The answer was not because the the callbacks are called after the futures are notified. I was wondering if we don't need to make two kind of callback on setting: one before notifying all the futures and the other after. In this way the promise setting could be completly decorated.

Braddock, what do you think?

Best,
Vicente