Boost logo

Boost :

Subject: Re: [boost] [afio] Formal review of Boost.AFIO
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2015-08-30 19:38:41


On 08/30/2015 10:06 PM, Niall Douglas wrote:
> 7. future.wait() very rarely blocks in your use scenario i.e. most if
> not nearly all the time the future is ready. If you are blocking, the
> cost of any thread sleep will always dwarf the cost of any future.

Is this really an assumption that holds when dealing with operations
that do file I/O? I have a hard time believing this is the general case.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk