[esnacc-dev] [PATCH 0/2] C++ Version of busy-poll for file descriptors

Aaron Conole aconole at bytheb.org
Fri Aug 26 19:32:07 UTC 2016


This introduces a framework for doing busy-poll for file descriptors.  Such a
setup allows registering individual message callbacks for specific streams and
calling an appropriate function when those streams see 'interesting' events.

A similar c-style framework will be introduced in the future.

This can be used by many projects for implementing i/o interfaces integrated
with reading/writing ASN.1 data.

Aaron Conole (2):
  cxx-lib/asn-buf: Add a filedescriptor streambuf
  cxx-lib/asn-buf: Stream buffer monitor

 cxx-lib/inc/asn-buf.h   | 148 ++++++++++++++++++++++++++++++++++++++++++------
 cxx-lib/src/asn-buf.cpp | 108 +++++++++++++++++++++++++++++++++--
 2 files changed, 234 insertions(+), 22 deletions(-)

-- 
2.5.5



More information about the dev mailing list