Ignore:
Timestamp:
Dec 9, 2013, 8:22:13 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
801a1fc6
Parents:
07f4edc1
git-author:
Joel Sherrill <joel.sherrill@…> (12/09/13 20:22:13)
git-committer:
Joel Sherrill <joel.sherrill@…> (12/13/13 14:35:52)
Message:

psxtests/configure.ac: Probe for SMP affinity methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/configure.ac

    r07f4edc1 r73184499  
    4848# Added to pthreads after initial revision.  May not be in toolset
    4949AC_CHECK_DECLS([pthread_attr_setguardsize],[],[],[[#include <pthread.h>]])
     50
     51# Added to newlib pthreads for RTEMS SMP (np), may not be present
     52AC_CHECK_DECLS([pthread_attr_setaffinity_np],[].[],,[[#include <pthread.h>]])
     53
     54# Added to newlib pthreads for RTEMS SMP (np), may not be present
     55AC_CHECK_DECLS([pthread_attr_getaffinity_np],[].[],,[[#include <pthread.h>]])
     56
     57# Added to newlib pthreads for RTEMS SMP (np), may not be present
     58AC_CHECK_DECLS([pthread_setaffinity_np],[].[],,[[#include <pthread.h>]])
     59
     60# Added to newlib pthreads for RTEMS SMP (np), may not be present
     61AC_CHECK_DECLS([pthread_getaffinity_np],[].[],,[[#include <pthread.h>]])
     62
     63# Added to newlib pthreads for RTEMS (np), may not be present
     64AC_CHECK_DECLS([pthread_getattr_np],[].[],,[[#include <pthread.h>]])
     65
     66# Added to newlib pthreads for RTEMS SMP (np), may not be present
     67AC_CHECK_HEADERS([cpuset.h])
     68
     69# Mandated by POSIX, not declared in some versions of newlib.
     70AC_CHECK_DECLS([getrusage],,,[#include sys/resource.h])
    5071
    5172# Mandated by POSIX, not declared in some versions of newlib.
Note: See TracChangeset for help on using the changeset viewer.