TeaEngineering / libchronicle

Shared-memory interprocess communication from C using OpenHFT's chronicle-queue protocol
Apache License 2.0
14 stars 10 forks source link

Refactor libchronicle shmipc callbacks #16

Closed shuckc closed 2 years ago

shuckc commented 2 years ago

Splits former shmipc.c into shmipc.c which is a KDB-suitable wrapper, and the core code in libchronicle.c and mostly eliminate use of the K data structure by the core library. This removes unnecessary indirection in a few places and allows structures to be passed around. libchronicle now uses traditional errno based error numbers and return codes.

Added small tests suite.