EventRing is a C++ implementation of lockless Multiple Producers and Single Consumer (MPSC) queue.
-
Navigate to the project root directory: cd /path/to/project
-
Create a build directory and navigate into it: mkdir build cd build
-
Run CMake to generate build files: cmake ..
-
Build the project: make
- Go to build/tests folder
- Run EventHandlerTest
You should see a json file in format [unixtimestamp].json. For e.g. 1724152991678254245.json containing result events as below:
[
{
"data": "Hello",
"type": "EventTypeA"
},
{
"data": 42,
"type": "EventTypeB"
}
]