Alexey Rybalchenko
e1b229522c
Apply modernize-deprecated-headers
2021-05-28 13:14:51 +02:00
Alexey Rybalchenko
ccbd622130
Apply cppcoreguidelines-init-variables
2021-05-28 13:14:51 +02:00
Christian Tacke
7616b0b0aa
CMake: Set CXX language level via target_compile_features()
...
See: https://gitlab.kitware.com/cmake/cmake/-/issues/18446
See: https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html#requiring-language-standards
2021-05-28 10:38:14 +02:00
Dennis Klein
ed78ccd29c
CMake: Remove cotire dependency
...
CMake now has native unity build support:
https://cmake.org/cmake/help/latest/variable/CMAKE_UNITY_BUILD.html
2021-05-28 10:38:14 +02:00
Dennis Klein
d15bc17b12
extern/asio: Bump and require v1.18.1
2021-05-28 10:38:14 +02:00
Dennis Klein
ce0a052252
SDK: Add missing header <thread>
2021-05-28 10:38:14 +02:00
Alexey Rybalchenko
9bf908fb52
shm: revert some changes from c85d6e0
that introduced a race
2021-05-20 00:40:58 +02:00
Alexey Rybalchenko
021c1b1c4d
shm: add monitor method to retrieve free segment memory
2021-05-18 14:05:12 +02:00
Alexey Rybalchenko
a7dbeadd1c
runDevice: remove const from getDevice parameter
2021-05-13 23:00:35 +02:00
Alexey Rybalchenko
e6f67b3658
Fix Ofi interface
2021-05-07 21:59:52 +02:00
Alexey Rybalchenko
091d0824d1
ofi: fix Events() signature
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
857aa84fa3
add mlock/zero options to unmanaged region
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
c85d6e079c
shm: reduce shm contention when dealing with ack queues
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
8b4056e408
Update docs
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
b67b80e0ad
shmmonitor: add severity setting
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
2c89b24857
shm: eliminate race/deadlock in region subscriptions
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
c6a6a5f21b
Check transport type of msg and corresponding region
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
9defa71622
Add GetType() to UnmanagedRegion
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
ed2dcedf03
Add operator<< for fair::mq::Transport
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
8a2641d842
shm: check result of region acquisition
2021-05-07 21:33:15 +02:00
Alexey Rybalchenko
2ca62d06db
shm region cache: fix multiple sessions issue
2021-05-07 14:20:00 +02:00
Gvozden Neskovic
ef5b3c782e
improve message counter cache line use
2021-05-07 14:20:00 +02:00
Gvozden Neskovic
f7ba3052aa
use thread local cache to avoid interprocess lock on shm GetData
2021-05-07 14:20:00 +02:00
Dennis Klein
a90dbf64de
Fix -Wunused-result
...
Fixes #281
2021-05-07 13:18:12 +02:00
Dennis Klein
057ba03776
PluginManager: Do not load built-in plugins via dlopen/dlsym
...
fixes #351
2021-05-05 03:52:12 +02:00
Giulio Eulisse
6dfea32aee
Improve Events API
...
If the call is interrupted by a signal, this will throw, which we clearly do not want. Simplifying the API to let the user decide what to do on error is probably the best option.
2021-05-04 22:54:19 +02:00
Dennis Klein
ea9aede652
Fallback to <boost/filesystem> on GCC 7
2021-04-08 16:22:47 +02:00
Alexey Rybalchenko
77bf12c8e8
docs patch
2021-04-08 12:38:18 +02:00
Alexey Rybalchenko
f3bc9e05a8
shmmonitor: update docs
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
5facc441b8
shmmonitor: add --list-all
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
2602f53585
Add tools: StrStartsWith, StrEndsWith
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
0976465338
shm: reduce delay between monitor daemon launch & HBs
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
9144258b89
shmmonitor: daemon output to file if FAIRMQ_SHMMONITOR_VERBOSE is true
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
be55565617
shmmonitor: use fairlogger
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
d7e2fbecea
shmmonitor: refactor to separate monitoring from output
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
72175e5757
shmmonitor: optimize startup to avoid repeated start
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
effba534f0
shmmonitor: add session name and creator id to the output
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
efd42075a9
shmmonitor: enable read only access
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
5228407932
shmmonitor: distinguish daemon from monitor mode (orthogonal)
2021-04-08 10:11:23 +02:00
Alexey Rybalchenko
30e81d58f8
shmmonitor: allow getting shmids based on session/userid
2021-04-08 10:11:23 +02:00
Dennis Klein
fc49687879
builtin devices: Reorganize
2021-03-26 10:06:10 +01:00
Dennis Klein
66a4df0667
fairmq-uuid-gen: Move to tools directory
2021-03-26 10:06:10 +01:00
Dennis Klein
978191fa6c
Introduce <fairmq/runDevice.h>
2021-03-26 10:06:10 +01:00
Dennis Klein
cef6d0afcd
Introduce <fairmq/Device.h>
2021-03-26 10:06:10 +01:00
Dennis Klein
47ec550792
control plugin: Move to subdirectory for consistency
2021-03-26 10:06:10 +01:00
Dennis Klein
107248be0a
Reorganize includes for consistency
2021-03-26 10:06:10 +01:00
Dennis Klein
4b6cf8b181
Fix aggregate initialization issue before C++20
...
Use value initialization to prevent
error: temporary of type ... has protected destructor
see https://stackoverflow.com/a/56745475
2021-03-26 10:06:10 +01:00
Alexey Rybalchenko
bffe74c5cf
shm: handle shrink failure gracefully
2021-03-23 13:00:35 +01:00
Alexey Rybalchenko
62438bd99e
shm: Improve error message when segment cannot be opened
2021-03-18 09:02:08 +01:00
Alexey Rybalchenko
c8ad684b18
Add --shm-no-cleanup option
...
When true, device will skip the segment cleanup even when it is the last
segment user
2021-03-18 09:02:08 +01:00