]> git.proxmox.com Git - mirror_qemu.git/commit - util/qemu-thread-posix.c
qemu-thread: always keep the posix wrapper layer
authorPeter Xu <peterx@redhat.com>
Thu, 12 Apr 2018 05:34:44 +0000 (13:34 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 May 2018 22:13:38 +0000 (00:13 +0200)
commitd820fa5b62d2ae2311702bf307f1b91dc338fd25
tree4c1eca51952e6c5b187a5c8b09afd8e370290259
parent48564041a73adbbff52834f9edbe3806fceefab7
qemu-thread: always keep the posix wrapper layer

We will conditionally have a wrapper layer depending on whether the host
has the PTHREAD_SETNAME capability.  It complicates stuff.  Let's keep
the wrapper there; we opt out the pthread_setname_np() call only.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180412053444.17801-1-peterx@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
util/qemu-thread-posix.c