From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2008-05-14 08:28:38
"vicente.botet" <vicente.botet_at_[hidden]> writes:
> Why you don't want to provide completion callbacks? Have you another
> proposal for completion callbacks?
I don't like them because you're chaining work onto the thread that sets the
future value, and that strikes me as dangerous.
> Maybe you could open the interface and return the last callback setting.
> This will result in a chain of responsabilities and the client must be aware
> of that with thow potential problems: growing stack and clients forgetting
> its responsabilities.
I really don't see the need for multiple wait callbacks.
-- Anthony Williams | Just Software Solutions Ltd Custom Software Development | http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk