summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadgetattrnp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* posix: Get real priority in pthread_getattr_np()Sebastian Huber2020-05-121-4/+6
| | | | | | | This is in line with pthread_setschedparam() and pthread_getschedparam(). Update #2514.
* 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/+2
| | | | | | | This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818.
* posix: _POSIX_Threads_Get_sched_param_sporadic()Sebastian Huber2017-11-211-4/+0
| | | | | | Remove api parameter to simplify the calling functions. Update #2514.
* posix: Change created_with_explicit_schedulerSebastian Huber2017-11-091-3/+3
| | | | | | | | Remove POSIX_API_Control::created_with_explicit_scheduler. Add Thread_Control::was_created_with_inherited_scheduler. This fixes also pthread_getattr_np() for Classic tasks. Update #2514.
* posix: Remove POSIX_API_Control::schedpolicySebastian Huber2017-11-091-10/+15
| | | | | | | Use the thread CPU budget algorithm to determine the scheduler policy. This fixes also pthread_getschedparam() for Classic tasks. Update #2514.
* posix: Remove POSIX_API_Control::schedparamSebastian Huber2017-10-171-5/+19
| | | | | | | | Move sporadic server scheduler parameters to POSIX_API_Control::Sporadic. Remove redundant scheduler priority parameter. Update #2514.
* posix: Simplify POSIX_API_ControlSebastian Huber2017-10-091-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* posix: Rework pthread_join()Sebastian Huber2016-05-201-0/+6
| | | | | | | | | Rework pthread_join() to use _Thread_Join(). Close #2402. Update #2555. Update #2626. Close #2714.
* posix: Avoid Giant lock for some pthread functionsSebastian Huber2016-05-121-19/+16
| | | | | | | | Avoid Giant lock for pthread_getattr_np(), pthread_setschedparam() and pthread_getschedparam(). Replace POSIX threads scheduler lock with thread state lock. Update #2555.
* posix: Add pthread_getattr_np().Jennifer Averett2014-03-071-0/+57
This is a useful POSIX thread API helper which is found in `GNU/Linux and *BSD.