numam-dpdk/lib/eal/windows
David Marchand 8eff201b00 net/ice: fix leak on thread termination
A terminated pthread should be joined or detached so that its associated
resources are released.

The "ice-reset-<vf_id>" threads are used to service some reset task in
the background, but they are never joined by the thread that created
them.
The easiest solution is to detach new threads.

The Windows EAL did not provide a pthread_detach wrapper but there is no
resource to release for Windows threads, so add an empty wrapper.

Fixes: 3b3757bda3 ("net/ice: get VF hardware index in DCF")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Haiyue Wang <haiyue.wang@intel.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
2021-05-11 23:40:22 +02:00
..
include net/ice: fix leak on thread termination 2021-05-11 23:40:22 +02:00
eal_alarm.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_debug.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_file.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_hugepages.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_interrupts.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_lcore.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_log.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_memalloc.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_memory.c eal: fix memory mapping on 32-bit target 2021-05-11 23:01:06 +02:00
eal_mp.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_thread.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_timer.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_windows.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
fnmatch.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
getopt.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_thread.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00