diff options
author | Cedric BAIL <cedric.bail@free.fr> | 2012-10-19 07:13:08 +0000 |
---|---|---|
committer | Cedric BAIL <cedric.bail@free.fr> | 2012-10-19 07:13:08 +0000 |
commit | 97dc0175711a2b6dd57d6a0f1cb88ad1e565f92c (patch) | |
tree | f7a2824d7293247383eee6678bd243e3bc376cdf /m4/efl_threads.m4 | |
parent | 6bde75188d3e55fd4ea50750ed432a297f00184e (diff) | |
download | efl-97dc0175711a2b6dd57d6a0f1cb88ad1e565f92c.tar.gz |
efl: change a little bit API.
SVN revision: 78229
Diffstat (limited to 'm4/efl_threads.m4')
-rw-r--r-- | m4/efl_threads.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4 index bd3a818eb0..a1bcc0308d 100644 --- a/m4/efl_threads.m4 +++ b/m4/efl_threads.m4 @@ -74,6 +74,17 @@ pthread_barrier_init(&barrier, NULL, 1); ]])], [efl_have_pthread_barrier="yes"], [efl_have_pthread_barrier="no"]) + AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[ +#include <stdlib.h> +#include <pthread.h> +#include <sched.h> + ]], + [[ +pthread_attr_setaffinity_np(NULL, 0, NULL); + ]])], + [efl_have_setaffinity="yes"], + [efl_have_setaffinity="no"]) CFLAGS=${SAVE_CFLAGS} LIBS=${SAVE_LIBS} |