【文件属性】:
文件名称:disruptor4cpp:LMAX干扰器的C ++端口
文件大小:66KB
文件格式:ZIP
更新时间:2021-05-09 01:03:30
C++
破坏者4cpp
LMAX干扰器的C ++端口。
考虑到C ++功能,我尝试将其实现为与Java版本尽可能接近。
该库需要C ++ 11功能。 目前,它已经在GCC 4.8中进行了测试。
什么是新的?
2015-09-01:Java版本3.3.2的DSL除外的核心功能已移植。
入门
该库是仅标头的。 克隆并复制“ include”文件夹。 例如,
$ git clone https://github.com/alexleemanfui/disruptor4cpp.git
$ cd disruptor4cpp
$ mkdir /opt/disruptor4cpp/
$ cp -pr include/ /opt/disruptor4cpp/
要运行测试,
$ git clone https://github.com/alexleemanfui/disruptor4cpp.git
$
【文件预览】:
disruptor4cpp-master
----ext()
--------gmock()
--------gtest()
----LICENSE(1KB)
----README.md(2KB)
----include()
--------disruptor4cpp()
----test()
--------fixed_sequence_group_test.cpp(2KB)
--------sequencer_test.cpp(9KB)
--------dummy_sequence_barrier.h(2KB)
--------support()
--------utils()
--------wait_strategies()
--------sequence_barrier_test.cpp(10KB)
--------main.cpp(2KB)
--------multi_producer_sequencer_test.cpp(2KB)
----CMakeLists.txt(1KB)