Flow-IPC 3.0.0
Flow-IPC project: Full implementation reference.
Namespaces | Functions
batch.hpp File Reference
#include "ipc/transport/sync_io/detail/batch.hpp"
#include "ipc/transport/error.hpp"
#include <flow/log/log.hpp>
#include <cassert>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  ipc
 Catch-all namespace for the Flow-IPC project: A library/API in modern C++17 providing high-performance communication between processes.
 
namespace  ipc::transport
 Flow-IPC module providing transmission of structured messages and/or low-level blobs (and more) between pairs of processes.
 
namespace  ipc::transport::sync_io
 sync_io-pattern counterparts to async-I/O-pattern object types in parent namespace ipc::transport.
 

Functions

template<bool NO_HNDLS, typename Batch , typename Task_err , typename Async_rcv_impl_func >
void ipc::transport::sync_io::async_receive_batch_emulation (flow::log::Logger *logger_ptr, Batch *batch, bool assume_would_block, Error_code *sync_err_code, Task_err &&on_done_func, Async_rcv_impl_func &&async_rcv_impl_func)
 Implements {Native_handle|Blob}_receiver::async_receive_*_batch() by emulating batch-receiving as a series of single-message receive-ops. More...