Skip to content

jeremyko/disruptorCpp-IPC-Arbitrary-Length-Data

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