cyclonedds/src/core
Erik Boasson f27baa71e4 fix assert on appl thread existing after dds_fini
The thread state management used by the GC and the liveliness monitoring
lazily creates entries for application threads that call (certain)
Cyclone API functions.  It arranges for the entry allocated to such a
thread to be cleared once the thread terminates.

This means that if such a thread still exists once the last participant
is deleted (and Cyclone deinitializes), the corresponding thread entry
still exists as well.  The assertion that all (known) threads must have
stopped on shutting down Cyclone is therefore incorrect.

This commit introduces a special state for thread entries that were
created lazily.  It does monitor that they do not stay in the "awake"
state for too long, but otherwise doesn't care much about them.

Signed-off-by: Erik Boasson <eb@ilities.com>
2019-05-05 20:46:50 +08:00
..
ddsc Move CycloneDDS/DDSI2E/* to CycloneDDS/* in config 2019-05-05 20:46:50 +08:00
ddsi fix assert on appl thread existing after dds_fini 2019-05-05 20:46:50 +08:00
xtests move util library into ddsrt 2019-04-24 14:09:30 +02:00
CMakeLists.txt move util library into ddsrt 2019-04-24 14:09:30 +02:00