ublk-cpp v0.0
Loading...
Searching...
No Matches
ublk::ShmHandler Concept Reference

Concept of a handler notified of shared memory buffer registration. More...

#include <handler.hpp>

Concept definition

template<typename T>
concept ublk::ShmHandler = requires(T &t, int32_t index, void *base, size_t size) {
{ t.handle_reg_shm(index, base, size) } noexcept -> detail::ex::sender;
{ t.handle_unreg_shm(index) } noexcept -> std::same_as<void>;
}
Concept of a handler notified of shared memory buffer registration.
Definition handler.hpp:50

Detailed Description

Concept of a handler notified of shared memory buffer registration.

Definition at line 50 of file handler.hpp.