summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadgetaffinitynp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Simplify get affinitiy directivesSebastian Huber2021-04-271-3/+0
| | | | | There is no need to disable thread dispatching to get the affinity of a task.
* Return status code for _Scheduler_Get_affinity()Sebastian Huber2021-04-271-3/+4
| | | | | This avoids having conditional statements to get the API-specific status code.
* 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-1/+1
| | | | | | | 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-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Replace *_Get_interrupt_disable() with *_Get()Sebastian Huber2016-05-201-1/+1
| | | | | Uniformly use *_Get() to get an object by identifier with a lock context.
* score: Avoid Giant lock _Scheduler_Get_affinity()Sebastian Huber2016-05-121-24/+25
| | | | Update #2555.
* score: _Scheduler_Get_affinity()Sebastian Huber2014-06-021-1/+0
| | | | Drop scheduler parameter. Coding style.
* score: Add scheduler control to scheduler opsSebastian Huber2014-04-041-5/+7
| | | | | Scheduler operations must be free of a global scheduler context to enable partitioned/clustered scheduling.
* posix: Move affinity from thread to scheduler.Jennifer Averett2014-04-031-8/+6
|
* Remove trailing whitespace in previous patchesJennifer Averett2014-03-071-1/+1
|
* posix: Add dynamic pthread get and set affinity.Jennifer Averett2014-03-071-0/+68
This patch adds the following methods: + pthread_get_affinity_np + pthread_set_affinity_np