test for pthread_setaffinity_np

Only enable setting threads per core when available
This commit is contained in:
Matthew Barr
2017-05-12 11:29:58 +10:00
parent 4976f019f4
commit b0a5bd8940
3 changed files with 28 additions and 1 deletions

View File

@@ -46,6 +46,8 @@
0 if you don't. */
#cmakedefine HAVE_DECL_PTHREAD_SETAFFINITY_NP
#cmakedefine HAVE_PTHREAD_NP_H
/* Define to 1 if you have the `malloc_info' function. */
#cmakedefine HAVE_MALLOC_INFO