Boost.AFIO    Boost C++ Libraries
Functions
Fsync

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.

Function Documentation

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!

Returns:
A batch of op handles.
Parameters:
opsA batch of op handles.

Definition at line 3653 of file afio.hpp.

future boost::afio::async_sync ( future<>  _precondition)

Asynchronous content synchronisation with physical storage after a preceding operation.

Returns:
A future<void>
Parameters:
_preconditionThe 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}

Definition at line 4877 of file afio.hpp.

void boost::afio::sync ( future<>  _precondition)

Synchronous content synchronisation with physical storage after a preceding operation.

Parameters:
_preconditionThe 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}

Definition at line 4892 of file afio.hpp.

void boost::afio::sync ( error_code &  _ec,
future<>  _precondition 
)

Synchronous content synchronisation with physical storage after a preceding operation.

Parameters:
_ecError code to set.
_preconditionThe 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}

Definition at line 4907 of file afio.hpp.


January, 2014

Copyright © 2013-2014 Niall Douglas, Cork, Ireland
Copyright © 2013 Paul Kirth, California
Documentation is generated by Doxygen