From 9ba66418790f184339ad3a891f525d54459d6369 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 19 Oct 2014 23:32:34 +0200 Subject: Set thread name for debugging Especially with other components (libavcodec, OSX stuff), the thread list can get quite populated. Setting the thread name helps when debugging. Since this is not portable, we check the OS variants in waf configure. old-configure just gets a special-case for glibc, since doing a full check here would probably be a waste of effort. --- old-configure | 3 +++ 1 file changed, 3 insertions(+) (limited to 'old-configure') diff --git a/old-configure b/old-configure index 26fee13711..0d1ff4cb17 100755 --- a/old-configure +++ b/old-configure @@ -990,6 +990,9 @@ cat > $TMPC << EOF #define HAVE_SDL1 0 #define HAVE_WAIO 0 #define HAVE_POSIX_SPAWN 1 +#define HAVE_GLIBC_THREAD_NAME (!!__GLIBC__) +#define HAVE_OSX_THREAD_NAME 0 +#define HAVE_BSD_THREAD_NAME 0 #define DEFAULT_CDROM_DEVICE "/dev/cdrom" #define DEFAULT_DVD_DEVICE "/dev/dvd" -- cgit v1.2.3