telemetry: detach threads
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 19 Aug 2021 02:38:19 +0000 (19:38 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 1 Oct 2021 12:50:16 +0000 (14:50 +0200)
commit71ecc415c5c5c746c89472f30fb4b63b9c968ac3
tree9fe5ba494ab39ce1ea30a16e4debbb8fd33f0c94
parent0203a14c72da4ae726056a147cb6e51622c9c28e
telemetry: detach threads

There are a number telemetry threads which are created and
there is nothing that does pthread_join() to wait for them.
Mark these threads as detached, so that the pthread library
can cleanup state when the thread exits.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ciara Power <ciara.power@intel.com>
lib/telemetry/telemetry.c
lib/telemetry/telemetry_legacy.c