Dennis Klein
a58b4870d7
feat(Parts): Refine and tweak
...
* Optimize appending another Parts container
* Remove redundant/verbose comments
* Change r-value args to move-only types into l-value args for
readability
* Deprecate `AtRef(int)`, redundant, just dereference at call site
* Deprecate `AddPart(Message*)`, avoid owning raw pointer args
* Add various const overloads
* Add `Empty()` and `Clear()` member functions
* Add `noexcept` where applicable
2023-02-24 13:59:27 +01:00
Alexey Rybalchenko
ac661dfd63
Add test for externally (outside the session) created shmem region
2022-10-05 09:13:37 +02:00
Dennis Klein
9a51c7b5fb
ci: Update and use images from ghcr.io/fairrootgroup/fairmq-dev
2022-08-12 01:50:14 +02:00
Dennis Klein
ca420a0e0d
feat(plugins): Allow kebab-case plugin names, e.g. libfairmq-plugin-pmix
...
Camel+snake-case plugin names are still allowed! e.g. `libFairMQPlugin_pmix`
2022-08-11 15:30:25 +02:00
Dennis Klein
b798b1e098
test: Increase robustness of the test suite for high -j
2022-08-11 15:30:25 +02:00
Dennis Klein
ac1904661a
test(channel): Increase sleep time
...
The logic of the GetNumberOfConnectedPeers test case relies on sleeping
a certain time. We have observed the 10ms sleep time to sometimes be too
short. Increasing it to 100ms should improve test stability.
2022-08-11 15:30:25 +02:00
Dennis Klein
12a85c6fb1
fix: Use namespaced typenames/headers
2022-08-11 15:30:25 +02:00
Dennis Klein
cda7282422
feat!: Remove deprecated components sdk, sdk_commands, dds_plugin
...
BREAKING CHANGE: Components have been moved to ODC project, see
https://github.com/FairRootGroup/FairMQ/discussions/392 for details.
2022-08-11 15:30:25 +02:00
Dennis Klein
eb9ddc81cf
ci: Run thread sanitizer with clang++
2022-03-21 16:28:43 +01:00
Dennis Klein
3b2ad1f6f4
ci: Add Fedora 35 build
2022-03-21 16:28:43 +01:00
Alexey Rybalchenko
b747a8787c
shm: check region size when opening existing
2022-02-08 09:09:25 +01:00
Alexey Rybalchenko
5f33401d41
Parallelize more tests
2022-01-25 11:55:38 +01:00
Alexey Rybalchenko
f4d39d224b
Avoid fixed ports in the test suites
2022-01-25 11:55:38 +01:00
Alexey Rybalchenko
bfd08bb33f
Don't use to-be-deprecated names
2022-01-24 06:40:24 +01:00
Alexey Rybalchenko
692576a5b1
shm: add APIs for implementing keep-alive process
2021-12-16 16:27:07 +01:00
Alexey Rybalchenko
dbdf17c661
Avoid accessing Device.fChannels directly, use getters
2021-11-03 20:23:40 +01:00
Dennis Klein
fda8126a43
feat: Add new GetNumberOfConnectedPeers() API
2021-10-19 10:22:19 +02:00
Dennis Klein
55a2cfcc37
ci: Add macos-11-arm64 (apple-clang-13) build
2021-10-01 17:08:50 +02:00
Alexey Rybalchenko
153dcfab94
Apply modernize-use-override
2021-09-27 12:04:07 +02:00
Alexey Rybalchenko
ad824b4de1
Define copy/move ctors and assignment ops
...
Delete special member functions where they are not used.
(as part of applying suggestions from cppcoreguidelines-special-member-functions)
These classes don't need to be copyable/movable:
# copy/move not used:
zmq:: TransportFactory, Socket, Message, UnmanagedRegion, Poller, Context
shm:: TransportFactory, Socket, Message, UnmanagedRegion, Poller
ofi:: TransportFactory, Socket, Message, Context
shm:: ZMsg, Region, Monitor, TerminalConfig, Manager
plugins:: Config, Control, TerminalConfig
fairmq::StateQueue, StateMachine, ProgOptions, PluginServices, PluginManager, Plugin, Device, StateSubscription
TestData, BadDevice, TestDevice (test suite heplers)
# used via ptr interface:
fairmq::UnmanagedRegion, TransportFactory, Socket, Poller, Message
These classes need to be movable/copyable:
MyClass (test suite helper), fairmq::Channel, fairmq::Parts
2021-09-27 12:04:07 +02:00
Dennis Klein
42a7e298c0
ci: Update build environments
2021-09-24 14:16:44 +02:00
Alexey Rybalchenko
bce380d871
Implement shmem msg zero-copy
2021-09-07 20:53:16 +02:00
Alexey Rybalchenko
c57410b820
Extend test for empty messages
2021-09-07 20:53:16 +02:00
Dennis Klein
4e8f247a0d
fix: First round of using new non-namespaced typenames
2021-09-07 20:53:16 +02:00
Alexey Rybalchenko
03ba9eb558
Add --shm-zero-segment-on-creation option
2021-07-16 09:40:17 +02:00
David Rohr
a6193a380d
Add --shm-mlock-segment-on-creation option
2021-07-16 09:40:17 +02:00
Dennis Klein
38f9870893
ci: Run additional checks
2021-07-07 14:43:32 +02:00
Dennis Klein
08d72d492a
test(sdk): Rename sdk/test_topo.xml to something less confusing
2021-07-07 14:43:32 +02:00
Dennis Klein
787a0a8748
test: Increase log level
2021-07-07 14:43:32 +02:00
Dennis Klein
e2de214a19
fix(sdk): Silence boost warnings
2021-07-07 14:43:32 +02:00
Alexey Rybalchenko
4fdf9d340b
Fix stack-use-after-scope
2021-06-24 14:11:43 +02:00
Alexey Rybalchenko
4dbb5535c3
Add empty msg check for transport compatibility checker
2021-06-24 14:11:43 +02:00
Alexey Rybalchenko
882edbbdb8
Apply modernize-pass-by-value
2021-05-28 13:14:51 +02:00
Alexey Rybalchenko
6aeac265ec
Apply modernize-use-equals-default
2021-05-28 13:14:51 +02:00
Alexey Rybalchenko
9444de5868
Apply readability-redundant-member-init
2021-05-28 13:14:51 +02:00
Alexey Rybalchenko
e1b229522c
Apply modernize-deprecated-headers
2021-05-28 13:14:51 +02:00
Alexey Rybalchenko
021c1b1c4d
shm: add monitor method to retrieve free segment memory
2021-05-18 14:05:12 +02:00
Alexey Rybalchenko
c85d6e079c
shm: reduce shm contention when dealing with ack queues
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
87e0ca5450
add region cache test
2021-05-07 14:20:00 +02:00
Alexey Rybalchenko
bffe74c5cf
shm: handle shrink failure gracefully
2021-03-23 13:00:35 +01:00
Dennis Klein
72f319e276
CI: Adapt to new alfaci build hosts
2021-03-23 11:06:33 +01:00
Alexey Rybalchenko
9b48b31a75
shm: Make sure all region events are fired
2021-03-11 12:14:00 +01:00
Dennis Klein
cb4335e59f
Add test coverage for --channel-config name selector
2021-03-05 02:02:14 +01:00
Alexey Rybalchenko
c6b13cd3a1
Fix shmem::Message::SetUsedSize(0)
2021-01-25 13:46:40 +01:00
Alexey Rybalchenko
4a09154a91
17-ify namespaces
2021-01-25 13:46:40 +01:00
Alexey Rybalchenko
d9a5e82160
Cleanup tools includes
2021-01-25 13:46:40 +01:00
Alexey Rybalchenko
6815c9c172
zmq: implement alignment
2021-01-13 12:36:32 +01:00
Alexey Rybalchenko
be94ceb7a7
zmq: simplify SetUsedSize implementation
2021-01-13 12:36:32 +01:00
Alexey Rybalchenko
29f45fa77d
Rename TransferResult to TransferCode
2021-01-13 12:36:32 +01:00
Alexey Rybalchenko
49d8a1b4dd
DeviceRunner: Set log severity only if one was provided
2020-10-19 10:23:08 +02:00