summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadattrsetaffinitynp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/posix/src/[p-z]*.c: Change license to BSD-2Joel Sherrill2022-02-281-3/+22
| | | | Updates #3053.
* doxygen: Switch @brief and @ingroupSebastian Huber2020-04-281-1/+2
| | | | This order change fixes the Latex documentation build via Doxygen.
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* Move feature macro before "config.h" includeSebastian Huber2019-11-191-5/+6
| | | | | | | This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
* posix: Simplify POSIX_API_ControlSebastian Huber2017-10-091-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | Return stack area via pthread_getattr_np(). Simplify * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() and let the scheduler do the more sophisticated error checks. Make * pthread_setaffinity_np(), * pthread_getaffinity_np(), * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() available in all configurations. Update #2514. Close #3145. Close #3168.
* Fix CPU_COPY() usageSebastian Huber2017-06-071-1/+1
| | | | | | | | The original CPU_COPY() support of Newlib <sys/cpuset.h> had the parameters in the wrong order. This is fixed in Newlib since 2017-05-22. Update #3023.
* posix: Fix warningSebastian Huber2014-09-081-2/+0
|
* posix: Move affinity from thread to scheduler.Jennifer Averett2014-04-031-2/+1
|
* Remove trailing whitespace in previous patchesJennifer Averett2014-03-071-1/+1
|
* posix: Add pthread_attr_t methods to get/set affinity.Jennifer Averett2014-03-071-0/+54
This patch adds the following methods: + pthread_attr_get_affinity_np + pthread_attr_set_affinity_np