mirror_zfs/lib/libzpool
Rob Norris 4429ad9276 libzpool: set thread names
Arrange for the thread/task name to be set when new threads are created.
This makes them visible in the process table etc.

pthread_setname_np() is generally available in glibc, musl and FreeBSD,
so no test is required.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #16140
2024-05-01 10:51:44 -07:00
..
kernel.c libzpool: set thread names 2024-05-01 10:51:44 -07:00
Makefile.am ddt: lift dedup stats out to separate file 2024-02-15 11:45:05 -08:00
taskq.c libzpool: set thread names 2024-05-01 10:51:44 -07:00
util.c nvpair: Constify string functions 2023-03-14 15:25:50 -07:00