thread-posix: add support for setting threads name on OpenBSD
authorBrad Smith <brad@comstyle.com>
Sun, 18 Dec 2022 08:22:04 +0000 (03:22 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Feb 2023 08:56:34 +0000 (09:56 +0100)
commit3ada67a306904fe0eb3093aff9278439a0e093c8
tree4519da6de0076fa630dddef2dc06deb8b352b206
parent6fbef9426bac7184b5d5887589d8386e732865eb
thread-posix: add support for setting threads name on OpenBSD

Make use of pthread_set_name_np() to be able to set the threads name
on OpenBSD.

Signed-off-by: Brad Smith <brad@comstyle.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <Y57NrCmPTVSXLWC4@humpty.home.comstyle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
util/qemu-thread-posix.c