Skip to content

jeremyko/disruptorCpp-IPC-Arbitrary-Length-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2a3abbf · Dec 6, 2021

History

10 Commits
Nov 7, 2020
Nov 7, 2020
Nov 7, 2020
Oct 6, 2017
Nov 7, 2020
Nov 7, 2020
Dec 6, 2021
Nov 7, 2020
Nov 7, 2020
Nov 7, 2020
Nov 7, 2020
Nov 7, 2020
Nov 7, 2020
Nov 7, 2020

Repository files navigation

disruptorCpp-IPC for arbitrary length of data

slightly modified version of disruptorCpp-IPC

compile

mkdir build; cd build; cmake ..; make

inter thread test

cd build/tests/inter_thread 
./inter_thread_test 

inter process test

cd build/tests/inter_process 

//whenever you change number of cunsumer, producer or memory size, 
//clear shared memory first using ipcrm.
//ipcrm -M 0x000e1740
//ipcrm -M 0x0001e240

//run 2 consumer, then 1 producer 
./consumer 0 
./consumer 1
./producer
//make sure reset shared memory running 'ipcrm -M your_shmkey' if you have changed buffer size or number of producers/consumers.

About

disruptor c++ implementation for IPC (arbitrary length of data)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published