From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-06-06 16:25:12


Johan Torp:
> One of my points is valid even for these two cases. The future-interface
> allows the promise-fulfiller to detect that all associated futures has
> died
> and that it needn't fulfill the request. That is, if we add this
> functionality to the promise class.

In principle, the callback interface could return a "task handle" instead of
void, one that can be used to cancel the task. This looks very similar to
asio, by the way.