FairMQ/examples/region
2021-05-07 21:07:56 +02:00
..
CMakeLists.txt Formatting 2021-03-11 12:14:00 +01:00
fairmq-start-ex-region.sh.in configurable transport for region example script 2021-05-07 21:07:56 +02:00
README.md Update example READMEs 2018-05-02 16:12:57 +02:00
runSampler.cxx Use region linger setting in region example 2020-06-29 14:44:49 +02:00
runSink.cxx Add config plugin class. 2019-07-10 19:35:18 +02:00
Sampler.cxx shm: check result of region acquisition 2021-05-07 21:07:56 +02:00
Sampler.h Use region linger setting in region example 2020-06-29 14:44:49 +02:00
Sink.cxx shm: check result of region acquisition 2021-05-07 21:07:56 +02:00
Sink.h Add region events subscriptions 2020-04-28 14:09:04 +02:00
test-ex-region.sh.in Use region linger setting in region example 2020-06-29 14:44:49 +02:00

Region example

This example demonstrates the use of a more advanced feature - UnmanagedRegion, that can be used to create a buffer through one of FairMQ transports. The contents of this buffer are managed by the user, who can also create messages out of sub-buffers of the created buffer. Such feature can be interesting in environments that have special requirements by the hardware that writes the data, to keep the transfer efficient (e.g. shared memory).