Functions | |
virtual std::vector< future<> > | boost::afio::dispatcher::sync (const std::vector< future<>> &ops)=0 |
Schedule a batch of asynchronous content synchronisations with physical storage after preceding operations. | |
future | boost::afio::async_sync (future<> _precondition) |
Asynchronous content synchronisation with physical storage after a preceding operation. | |
void | boost::afio::sync (future<> _precondition) |
Synchronous content synchronisation with physical storage after a preceding operation. | |
void | boost::afio::sync (error_code &_ec, future<> _precondition) |
Synchronous content synchronisation with physical storage after a preceding operation. |
future boost::afio::dispatcher::sync | ( | const std::vector< future<>> & | ops | ) | [pure virtual] |
Schedule a batch of asynchronous content synchronisations with physical storage after preceding operations.
It goes without saying that this call can take very significant amounts of time to complete!
ops | A batch of op handles. |
future boost::afio::async_sync | ( | future<> | _precondition | ) |
Asynchronous content synchronisation with physical storage after a preceding operation.
_precondition | The precondition to use. |
{Amortised O(1) to dispatch. Amortised O(1) to complete if content synchronisation is constant time (which is extremely unlikely).} {readwrite_example}
void boost::afio::sync | ( | future<> | _precondition | ) |
Synchronous content synchronisation with physical storage after a preceding operation.
_precondition | The precondition to use. |
{distinguish, throwing} {Amortised O(1) to dispatch. Amortised O(1) to complete if content synchronisation is constant time (which is extremely unlikely).} {readwrite_example}
void boost::afio::sync | ( | error_code & | _ec, |
future<> | _precondition | ||
) |
Synchronous content synchronisation with physical storage after a preceding operation.
_ec | Error code to set. |
_precondition | The precondition to use. |
{distinguish, non throwing} {Amortised O(1) to dispatch. Amortised O(1) to complete if content synchronisation is constant time (which is extremely unlikely).} {readwrite_example}
January, 2014 |
Copyright © 2013-2014 Niall Douglas, Cork, Ireland Copyright © 2013 Paul Kirth, California |