hmbdc
simplify-high-performance-messaging-programming
Private Member Functions | List of all members
hmbdc::tips::rnetmap::nmrecvtransport_detail::NmRecvTransport< OutputBuffer, Ep2SessionDict > Struct Template Reference

impl class More...

#include <NmRecvTransport.hpp>

Inheritance diagram for hmbdc::tips::rnetmap::nmrecvtransport_detail::NmRecvTransport< OutputBuffer, Ep2SessionDict >:
hmbdc::tips::rnetmap::transport_detail::Transport

Private Member Functions

void syncNetmap () HMBDC_RESTRICT
 sync using busy wait or poll depending on config More...
 

Detailed Description

template<typename OutputBuffer, typename Ep2SessionDict>
struct hmbdc::tips::rnetmap::nmrecvtransport_detail::NmRecvTransport< OutputBuffer, Ep2SessionDict >

impl class

Template Parameters
OutputBuffertype of buffer to hold resulting network messages
MsgArbitratorarbitrator to decide drop or keep messages, suited to arbitrate between different recv transport. By default, keeping all

Member Function Documentation

◆ syncNetmap()

template<typename OutputBuffer, typename Ep2SessionDict>
void hmbdc::tips::rnetmap::nmrecvtransport_detail::NmRecvTransport< OutputBuffer, Ep2SessionDict >::syncNetmap ( )
inlineprivate

sync using busy wait or poll depending on config

it turns out busy wait performance is very poor when using vale poll works mostly, but it works well only when an enough timeout is given less than 10 milli wont work well


The documentation for this struct was generated from the following file: