Changeset 801a1fc6 in rtems


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

cpukit/configure.ac: Probe for SMP affinity methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/configure.ac

    r73184499 r801a1fc6  
    9797RTEMS_CHECK_FUNC([pthread_attr_setstack],[#include <pthread.h>])
    9898RTEMS_CHECK_FUNC([pthread_attr_getstack],[#include <pthread.h>])
     99
     100# These are SMP related and were added to newlib by RTEMS.
     101RTEMS_CHECK_FUNC([pthread_attr_setaffinity_np],[#include <pthread.h>])
     102RTEMS_CHECK_FUNC([pthread_attr_getaffinity_np],[#include <pthread.h>])
     103RTEMS_CHECK_FUNC([pthread_setaffinity_np],[#include <pthread.h>])
     104RTEMS_CHECK_FUNC([pthread_getaffinity_np],[#include <pthread.h>])
     105RTEMS_CHECK_FUNC([pthread_getattr_np],[#include <pthread.h>])
     106AC_CHECK_HEADERS([cpuset.h])
    99107
    100108# Mandated by POSIX, not declared in some versions of newlib.
Note: See TracChangeset for help on using the changeset viewer.