https://github.com/jeremyko/disruptorcpp-ipc-arbitrary-length-data
disruptor c++ implementation for IPC (arbitrary length of data)
https://github.com/jeremyko/disruptorcpp-ipc-arbitrary-length-data
disruptor
Last synced: 7 months ago
JSON representation
disruptor c++ implementation for IPC (arbitrary length of data)
- Host: GitHub
- URL: https://github.com/jeremyko/disruptorcpp-ipc-arbitrary-length-data
- Owner: jeremyko
- License: mit
- Created: 2015-09-15T06:47:24.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-12-06T08:42:54.000Z (almost 4 years ago)
- Last Synced: 2025-03-18T17:24:46.103Z (7 months ago)
- Topics: disruptor
- Language: C++
- Homepage: http://jeremyko.blogspot.kr/2015/09/disruptorcpp-ipc.html
- Size: 28.3 KB
- Stars: 14
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# disruptorCpp-IPC for arbitrary length of data
## slightly modified version of [disruptorCpp-IPC](https://github.com/jeremyko/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.