Condy v1.6.0
C++ Asynchronous System Call Layer for Linux
Loading...
Searching...
No Matches
awaiter_operations.hpp File Reference

Helper functions for composing asynchronous operations. More...

Go to the source code of this file.

Namespaces

namespace  condy
 The main namespace for the Condy library.

Functions

template<CQEHandlerLike CQEHandler, PrepFuncLike PrepFunc, typename... Args>
auto condy::build_op_awaiter (PrepFunc &&func, Args &&...handler_args)
 Build a single-shot operation awaiter with custom CQE handler.
template<CQEHandlerLike CQEHandler, PrepFuncLike PrepFunc, typename MultiShotFunc, typename... Args>
auto condy::build_multishot_op_awaiter (PrepFunc &&func, MultiShotFunc &&multishot_func, Args &&...handler_args)
 Build a multi-shot operation awaiter with custom CQE handler.
template<CQEHandlerLike CQEHandler, PrepFuncLike PrepFunc, typename FreeFunc, typename... Args>
auto condy::build_zero_copy_op_awaiter (PrepFunc &&func, FreeFunc &&free_func, Args &&...handler_args)
 Build a zero-copy operation awaiter with custom CQE handler.

Detailed Description

Helper functions for composing asynchronous operations.

This file provides a set of interfaces for constructing asynchronous operations. It includes utilities for wrapping liburing interfaces as awaitable asynchronous operations, as well as for composing and combining these operations to enable collective execution.

Definition in file awaiter_operations.hpp.