FairMQ/examples/region
Alexey Rybalchenko 1f26883b75 Formatting
2021-03-11 12:14:00 +01:00
..
CMakeLists.txt Formatting 2021-03-11 12:14:00 +01:00
fairmq-start-ex-region.sh.in Fix region example by moving our test code to a separate one 2019-03-06 14:23:08 +01: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: configurable allocation strategy 2020-09-08 16:56:35 +02:00
Sampler.h Use region linger setting in region example 2020-06-29 14:44:49 +02:00
Sink.cxx Shm: configurable allocation strategy 2020-09-08 16:56:35 +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).