On Wed, Mar 12, 2014 at 11:48:17AM +0000, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > > Peter was preferring configure time detection of pthread_setname_np > to guard against my recent breaking of builds on old libc. > > I've tested this on: > Fedora 20 - modern glibc - works as before > RHEL 5 - glibc 2.5: > [dgilbert@davidgil-rhel5 try]$ ./bin/qemu-system-x86_64 -nographic -name > debug-threads=on > qemu: thread naming not supported on this host > > and checked a mingw windows cross build builds. > > A check on SLES11 is probably worth a try if someone has one to hand.
I've applied this for 2.0, thanks! > Dr. David Alan Gilbert (1): > Detect pthread_setname_np at configure time > > configure | 28 ++++++++++++++++++++++++++++ > util/qemu-thread-posix.c | 21 ++++++++++++++++++--- > util/qemu-thread-win32.c | 2 ++ > 3 files changed, 48 insertions(+), 3 deletions(-) > > -- > 1.8.5.3