mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Detect pthread_setname_np at configure time
Warn if no way of setting thread name is available. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
f7bc8ef809
commit
5c31207941
3 changed files with 48 additions and 3 deletions
|
@ -22,6 +22,8 @@ void qemu_thread_naming(bool enable)
|
|||
{
|
||||
/* But note we don't actually name them on Windows yet */
|
||||
name_threads = enable;
|
||||
|
||||
fprintf(stderr, "qemu: thread naming not supported on this host\n");
|
||||
}
|
||||
|
||||
static void error_exit(int err, const char *msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue