Boost.AFIO    Boost C++ Libraries
Functions
x

Functions

future boost::afio::dispatcher::depends (future<> precondition, future<> op)
 Schedule the return of an op handle after another op handle completes. This is useful when you need to supply one op handle to a function but it must not begin until another op handle has finished.

Function Documentation

future boost::afio::dispatcher::depends ( future<>  precondition,
future<>  op 
)

Schedule the return of an op handle after another op handle completes. This is useful when you need to supply one op handle to a function but it must not begin until another op handle has finished.

Returns:
The op handle op.
Parameters:
preconditionThe op handle which must complete for op to be passed through.
opThe op handle to return.

Definition at line 3744 of file afio.hpp.


January, 2014

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