summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-09-09 12:45:47 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-09-09 12:45:47 +0900
commit5625aac4d4860730428a0bca421f447425292aec (patch)
tree53049cbf421cea4b8f83b7b88f36729182b550d1 /configure.ac
parent712db856a2738505f245f2c0c98b3419993246de (diff)
eina thread - add wrapper for setting thread name and fix affinity
added support to set thread names for debugging. this wraps the gnu extension to set a thread name of up to 15 chars (16 inc nul byte). eina_thread_name_set() is the new api. @feature in the process i found the autofoo wasnt enabling cpu affinity support at all in reality, so i had to fix that at the same time.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2d43a723aa..092a86dff2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -989,6 +989,7 @@ EFL_ADD_CFLAGS([EINA], [${EFL_PTHREAD_CFLAGS}])
989 989
990EINA_CONFIG([HAVE_PTHREAD_BARRIER], [test "x${efl_have_pthread_barrier}" = "xyes"]) 990EINA_CONFIG([HAVE_PTHREAD_BARRIER], [test "x${efl_have_pthread_barrier}" = "xyes"])
991EINA_CONFIG([HAVE_PTHREAD_AFFINITY], [test "x${efl_have_setaffinity}" = "xyes"]) 991EINA_CONFIG([HAVE_PTHREAD_AFFINITY], [test "x${efl_have_setaffinity}" = "xyes"])
992EINA_CONFIG([HAVE_PTHREAD_SETNAME], [test "x${efl_have_setname}" = "xyes"])
992EINA_CONFIG([HAVE_DEBUG_THREADS], [test "x${want_debug_threads}" = "xyes"]) 993EINA_CONFIG([HAVE_DEBUG_THREADS], [test "x${want_debug_threads}" = "xyes"])
993EINA_CONFIG([HAVE_POSIX_SPINLOCK], [test "x${efl_have_posix_threads_spinlock}" = "xyes"]) 994EINA_CONFIG([HAVE_POSIX_SPINLOCK], [test "x${efl_have_posix_threads_spinlock}" = "xyes"])
994EINA_CONFIG([HAVE_OSX_SPINLOCK], [test "x${efl_have_osx_spinlock}" = "xyes"]) 995EINA_CONFIG([HAVE_OSX_SPINLOCK], [test "x${efl_have_osx_spinlock}" = "xyes"])
@@ -4847,6 +4848,7 @@ fi
4847EFL_ADD_FEATURE([thread], [spinlocks], [${efl_have_spinlock}]) 4848EFL_ADD_FEATURE([thread], [spinlocks], [${efl_have_spinlock}])
4848EFL_ADD_FEATURE([thread], [barrier], [${efl_have_pthread_barrier}]) 4849EFL_ADD_FEATURE([thread], [barrier], [${efl_have_pthread_barrier}])
4849EFL_ADD_FEATURE([thread], [affinity], [${efl_have_setaffinity}]) 4850EFL_ADD_FEATURE([thread], [affinity], [${efl_have_setaffinity}])
4851EFL_ADD_FEATURE([thread], [setname], [${efl_have_setname}])
4850 4852
4851echo 4853echo
4852echo 4854echo