Erik Boasson
9cdba8a186
let the GC thread sleep unless there is work todo
...
GC thread checks proxy leases and performs garbage collection of entities and instance map entries and there is no value in waking up periodically, so better sleep as long as possible and save some energy
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-08-01 09:00:13 +02:00
Erik Boasson
a72a581cb0
make internal thread liveliness monitoring optional
...
Internal thread liveliness monitoring means having a thread that wakes up periodically, doing nothing but checking whether all seems well. In most case, this is not worth the resources and energy.
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-08-01 08:57:40 +02:00
Erik Boasson
519a1ffb92
don't print anything for configuration entries that are deprecated
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-08-01 08:44:45 +02:00
Erik Boasson
e47ad57f09
change order of cleanup steps in (internal) dds_fini to match match initialisation order
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-08-01 08:44:01 +02:00
Erik Boasson
f4824b0b5d
replace temporary hack that is dds_writecdr by a better but nonetheless still temporary hack
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-18 17:44:54 +02:00
Erik Boasson
bfb5874373
fix crashes when C++ global destructors call DDS code
...
- properly count invocations of os_osInit/os_osExit
- handle concurrent invocations of those
- provide a single mutex for use by dds_init
- eliminate use of atexit()
- attendant dds_init/dds_fini changes
- fix related crash in thread local storage cleanup
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-18 17:44:41 +02:00
Erik Boasson
20d8ef6f0d
do not start sendq thread if async mode is disabled
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-17 21:46:18 +02:00
Erik Boasson
ed551eecc1
eliminate support for multiple serstatepools: never used and a source of race conditions during shutdown
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-17 21:38:53 +02:00
Erik Boasson
520ca47938
lock observer list to avoid a race condition between attach/detach and signalling by a RHC
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-17 21:36:26 +02:00
Erik Boasson
24f622b114
add guard conditions
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-13 08:47:29 +02:00
Erik Boasson
414be4a569
General/EnableLoopback is deprecated and has no effect other than an error, remove it from configs
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-11 13:18:52 +02:00
Erik Boasson
e912384500
allow dds_create_topic multiple times for the same topic
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-11 13:18:13 +02:00
Erik Boasson
8e1bdb8855
add a function to get the address and size of serialised data
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-09 13:16:56 +02:00
Erik Boasson
455783eed9
must copy listener argument pointer into entity to pass it in listener invocations
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-09 13:16:56 +02:00
Erik Boasson
0014941fad
allow a forward slash in topic names for ROS2 compatibility
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-09 13:16:56 +02:00
Erik Boasson
890af34168
Change install location of OS abstraction files to a subdirectory of ddsc
...
This patch puts all installed include files under PREFIX/include/ddsc so we no longer create a /usr/local/include/os directory in a default installation.
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-09 13:16:56 +02:00
Erik Boasson
b13bbcc358
Remove unused DDS Security-related files
...
The removed files are merely the machine-readable part of the DDS Security specification; the clutter they cause in the installation directory is unwarranted, especially when installing to the default /usr/local
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-09 13:16:56 +02:00
Erik Boasson
6095b467d3
support non-default installation directories work
...
Make cmake add the installation include directory to the include path so that non-default installation locations work properly
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-09 13:16:56 +02:00
eboasson
0da8f28265
Merge pull request #11 from eboasson/master
...
Fix dds_sample_info.publication_handle incorrectly set to 1
2018-07-06 21:32:52 +02:00
Erik Boasson
daa17704db
Fix dds_sample_info.publication_handle incorrectly set to 1 as well as some corner cases where it ended up at 0 and some related assertion failures ( #8 )
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-06 21:28:23 +02:00
eboasson
a0e460a654
Merge pull request #9 from eboasson/master
...
some notes on configuration and diagrams related to the data paths
2018-07-06 15:10:13 +02:00
Erik Boasson
79ec9e1cd4
add some diagrams related to the data path
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-04 15:59:55 +02:00
Erik Boasson
98a80e99b9
Add some explanatory text on the workings and configuration
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-07-04 14:00:26 +02:00
eboasson
5451a295b9
Merge pull request #7 from Theosakamg/master
...
Add support of openJDK-10
2018-06-25 10:18:37 +02:00
Mickael Gaillard
2aff97ad7d
Fix build with openJDK-10
...
Signed-off-by: Mickael Gaillard <mick.gaillard@gmail.com>
2018-06-23 21:51:21 +02:00
eboasson
79323b0b83
Merge pull request #4 from eboasson/master
...
various fixes and other changes from atolab/cdds repository
2018-06-19 17:59:50 +02:00
Erik Boasson
e1a797f73c
enable SSM support
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-13 15:52:43 +02:00
Erik Boasson
cf40d9df3f
Fixes for building on Windows (with thanks to @k0ekk0ek)
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-11 13:49:52 +02:00
Erik Boasson
86361871f9
losing the response to an SPDP message is really annoying if the interval is long, repeating it a few times is a pragmatic intermediate step until detecting whether or not a bidirectional connection has been established is implemented
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-08 12:46:37 +02:00
Erik Boasson
07600793b6
try to get the locator kind right when using UDP and the debug monitor port is enabled
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-07 16:52:08 +02:00
Erik Boasson
2ee9e9de02
enable support for network partitions
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-07 16:39:39 +02:00
Erik Boasson
69613d5180
ignore configuration entries nested under an unknown element
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:01 +02:00
Erik Boasson
28c33bf99a
refuse to start on any configuration error that is not fatal for processing the configuration file
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:01 +02:00
Erik Boasson
6b47d522da
config parser can hang checking for "<![CDATA[" at the end of an invalid input
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:01 +02:00
Erik Boasson
0b80bffbcb
General/EnableLoopback is no longer useful and causes crashes when set to true, so eliminate it (marking the option as deprecated for now)
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:01 +02:00
Erik Boasson
12cc159949
fix crash on invalid configurations by setting thread pointer and log buffer to a statically allocated descriptor until the threading structures have been initialized properly
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:00 +02:00
Erik Boasson
33c89f0d47
removing ACKd messages with noidx optimisation can fail if samples have been written after matching multiple readers but before the first ACK arrives
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:00 +02:00
Erik Boasson
6d48d692ba
fix computing destination address set: a plain "char" is not signed on all platforms
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:00 +02:00
Erik Boasson
e876948a42
commit changes to ddsi_raweth.c that were left out of the f28b14a642348dc1544502b3981908ee2ecef447 by accident
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:00 +02:00
Erik Boasson
3d16f5f2ce
add support for running over ethernet without a configured IP stack
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:00 +02:00
Erik Boasson
1d8379b6c6
fixed dropping packets from nodes with an RTPS message version higher than own version
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:00 +02:00
Erik Boasson
e4c60d6e5d
added function to headerfile
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:00 +02:00
Erik Boasson
6d0de92c6c
fix security compatibility between lite and opensplice
...
Signed-off-by: Erik Boasson <eb@ilities.com>
2018-06-05 15:09:00 +02:00
Erik Boasson
e0068e6dae
fix vendorid used for entities discovered via cloud
2018-06-05 15:09:00 +02:00
Michiel Beemster
e335f4f43e
Remove the launcher from documentation ( #3 )
...
As the launcher is not yet released to the community, remove the references
to if from the documentation
2018-06-04 15:33:56 +02:00
Michiel Beemster
06a894a990
Add getopt 1.5 3rd party dependency
2018-05-08 10:18:52 +02:00
PatrickM-adlink
1289c7f7dc
Change cmake files to make documentation optional ( #2 )
...
* CHAM-613 - Add cmake options for building and downloading docs
Signed-off-by: Patrick Masselink <patrick.masselink@adlinktech.com>
2018-05-07 14:08:20 +02:00
Michiel Beemster
22a75729c5
Add README
2018-04-24 10:07:55 +02:00
Michiel Beemster
e57f63f6c0
Update toplevel minimum cmake version
2018-04-18 10:37:08 +02:00
Michiel Beemster
a388916ada
Add grammers-v4 3rd party dependency
...
CQ# 15812
2018-04-16 11:50:40 +02:00