Alexey Rybalchenko
afe2dcaa02
BenchmarkSampler: add memset option
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
aeab9e5407
Socket.h: refactor to reduce duplicate code
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
539e5602a6
Expose fair::mq::shmem::Monitor::Cleanup() API
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
beb510ded8
Adjust example 1 docs
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
d1c51e0f1f
Use region linger setting in region example
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
f885b4618e
Optimize unmanaged region ReceiveAcks
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
3364da9541
Add linger setting for unmanaged region
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
7aec6f91de
Fix typo
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
9e2a002942
Add -Og flag to Debug build
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
52c6264faf
Fix message counter in region example
2020-06-29 14:44:49 +02:00
Alexey Rybalchenko
79489bb501
Add missing includes
2020-06-10 13:55:15 +02:00
Alexey Rybalchenko
c60dd9965c
Add copyright entry for PicoSHA2
2020-06-05 18:16:13 +02:00
Alexey Rybalchenko
79ca436b74
Zmq: let GetData of an empty message return nullptr
2020-06-05 18:16:13 +02:00
Alexey Rybalchenko
36d4f3c937
Use SHA2 instead of boost::hash to generate shmem id
2020-06-05 18:16:13 +02:00
Alexey Rybalchenko
bdf895ae9e
Add PicoSHA2 dependency
2020-06-05 18:16:13 +02:00
Alexey Rybalchenko
42986e664c
Add PicoSHA2 submodule
2020-06-05 18:16:13 +02:00
Giulio Eulisse
dd47b34e06
Add ability to retrieve ZMQ_FD
2020-06-03 19:44:00 +02:00
Alexey Rybalchenko
a59c902c74
MemoryResource: propagate alignment
2020-06-03 19:41:40 +02:00
Alexey Rybalchenko
dabc48c21a
Shm: fix incorrect ptr range check
2020-05-29 23:34:27 +02:00
Alexey Rybalchenko
236d5a8608
Let default shm segm size be multiple of page size
...
To allow potential optimizations (e.g. huge pages)
2020-05-28 17:23:18 +02:00
Alexey Rybalchenko
5a782e8726
Add a test for unregisted options
2020-05-28 17:23:18 +02:00
Alexey Rybalchenko
5008fa4732
Fix regression in handling unregistered options
2020-05-28 17:23:18 +02:00
Alexey Rybalchenko
b5bb476b0d
Adjust program options style to disallow guessing
2020-05-25 14:03:12 +02:00
Giulio Eulisse
ea7ae04025
Adapt to requests by @rbx
2020-05-25 08:36:57 +02:00
Giulio Eulisse
02692e7002
Initiate termination process on SIGTERM as well
2020-05-25 08:36:57 +02:00
Alexey Rybalchenko
53a4d17f8b
Alignment part I - Interface and shmem send
2020-05-20 19:34:27 +02:00
Giulio Eulisse
20544e1f18
Do not handle double SIGTERM as abort
...
A double SIGTERM, or even worse a SIGINT + SIGTERM combination should
not result in an abort, given such a signal really means "die whenever
you want" and can only be generated programmatically. If one wants the
child to die programmatically, they should use SIGKILL.
On the other hand that bashing ctrl-c (i.e. SIGINT) multiple times
on the keyboard really means abort.
2020-05-20 12:14:18 +02:00
Dennis Klein
b32e04db60
Do not search external GTest by default
...
Can be overridden by -DUSE_EXTERNAL_GTEST=ON.
2020-05-19 10:53:02 +02:00
Alexey Rybalchenko
0d03c76a75
Shm: throw on bad_alloc, option to disable
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
2916a491b9
Format
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
b56e32eb11
Replace exit()s with exceptions
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
4b516de81a
Minor formatting
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
361fb0cba5
Zmq: refactor to use namespaces
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
df574c6466
Zmq: header only
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
dbdabd23a4
Zmq: remove global (static) state, refactor
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
ccbf0be572
Shmem: refactor, clean includes, make header only
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
7a67719a3c
Remove useless members
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
f4a54ff550
Minor refactoring
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
d22023bcb5
Implement bulk callbacks for unmanaged regions
2020-05-18 14:32:19 +02:00
Alexey Rybalchenko
a15d59c725
Remove nanomsg transport
2020-05-11 17:38:16 +02:00
Alexey Rybalchenko
8cfc04721e
Add unit tests for regions
2020-05-11 12:02:19 +02:00
Alexey Rybalchenko
e9318dd234
Add FairMQTransportFactory::GetId()
2020-05-11 12:02:19 +02:00
Alexey Rybalchenko
c8fc5ad33f
Add bool FairMQTransportFactory::SubscribedToRegionEvents()
2020-05-11 12:02:19 +02:00
Alexey Rybalchenko
59e32437a2
shmem region subscriptions: fix race condition
2020-05-11 12:02:19 +02:00
Alexey Rybalchenko
a3afadb824
Call region event callback with local_only event for zmq
2020-05-11 12:02:19 +02:00
Alexey Rybalchenko
9992811822
Implement region events for zmq
2020-05-11 12:02:19 +02:00
Alexey Rybalchenko
4218c185a4
Shmem: Send acks also for local regions
2020-05-04 10:01:29 +02:00
Alexey Rybalchenko
5a49c5b9b1
Truncate the file used for the region mapping
2020-05-04 10:01:29 +02:00
Alexey Rybalchenko
960b612d80
Update docs
2020-04-28 14:47:26 +02:00
Alexey Rybalchenko
e1a113aabe
Add region events subscriptions
2020-04-28 14:09:04 +02:00