aboutsummaryrefslogtreecommitdiff
path: root/lib/libspl/assert.c
diff options
context:
space:
mode:
authorRob Norris <robn@despairlabs.com>2024-04-28 01:03:11 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2024-05-01 17:51:44 +0000
commit4429ad9276cea193bb29463a7d6c38367d0d78ce (patch)
treec8d3b13c3996a732dc9d439e8cb35661a4c93936 /lib/libspl/assert.c
parent7ac00d3c26652892e01956af29d087362ab29410 (diff)
downloadsrc-4429ad9276cea193bb29463a7d6c38367d0d78ce.tar.gz
src-4429ad9276cea193bb29463a7d6c38367d0d78ce.zip
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
Diffstat (limited to 'lib/libspl/assert.c')
0 files changed, 0 insertions, 0 deletions