Changeset c69a70a in rtems

Timestamp:
11/08/21 10:08:24 (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
834a86fe
Parents:
6443c9d
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/21 10:08:24)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/23/21 10:00:28)
Message:

rtems: Fix rtems_scheduler_remove_processor()

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.

(No files)

Note: See TracChangeset for help on using the changeset viewer.