summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/schedulerremoveprocessor.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cpukit/rtems/src/[s-z]*.c: Change license to BSD-2Joel Sherrill2022-02-281-3/+22
| | | | Updates #3053.
* rtems: Move scheduler directives to own headerSebastian Huber2021-12-021-2/+2
| | | | | | Move all rtems_scheduler_* directives to the new header file <rtems/rtems/scheduler.h>. Add a Scheduler Manager API and implementation group.
* rtems: Fix rtems_scheduler_remove_processor()Sebastian Huber2021-11-231-2/+48
| | | | | | | | | | | | | | | | | | Return an error status for the following error condition in rtems_scheduler_remove_processor(): While an attempt is made to remove a processor from a scheduler, while the processor is the only processor owned by the scheduler, if a thread exists which uses the scheduler as a helping scheduler, then the processor shall not be removed. The reason is that ask for help requests and withdraw node requests are processed asynchronously in any order. An ask for help request carried out on a scheduler without a processor is undefined behaviour. Update error status description. Update #4544.
* rtems: Canonicalize Doxygen @file commentsSebastian Huber2020-12-021-0/+9
| | | | | | Use common phrases for the file brief descriptions. Update #3706.
* 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
* rtems: Fix warningSebastian Huber2017-07-111-2/+0
| | | | Update #3059.
* rtems: Fix rtems_scheduler_remove_processor()Sebastian Huber2017-07-071-4/+8
| | | | | | | | Account for the thread processor affinity and make sure that it is possible to allocate a processor to each thread dedicated to a scheduler instance. Update #3059.
* score: Add processor set to scheduler contextSebastian Huber2017-07-071-3/+3
| | | | | | | Replace the simple processor count with the processor set owned by the scheduler instance. Update #3059.
* rtems: Use _Thread_Dispatch_direct()Sebastian Huber2016-12-021-1/+1
| | | | Update #2797.
* score: Initialize thread queue context earlySebastian Huber2016-12-021-0/+1
| | | | | | | | Initialize thread queue context early preferably outside the critical section. Remove implicit _Thread_queue_Context_initialize() from _Thread_Wait_acquire().
* rtems: Add scheduler processor add/removeSebastian Huber2016-11-101-0/+144
Update #2797.