Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#3237 closed defect (fixed)

Fix priority ceiling updates

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: score Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

We must not clear the priority updates in _Thread_queue_Extract_locked() since this function is used by the priority ceiling surrender operations after the ceiling priority handover from the previous owner to the new owner. This is especially important in SMP configurations.

Move the _Thread_queue_Context_clear_priority_updates() invocation to the callers.

Change History (1)

comment:1 Changed on 11/16/17 at 14:29:23 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"ec771f253182569dd5e046f39785a22c6c6f8e44/rtems" ec771f2/rtems]:

score: Fix priority ceiling updates

We must not clear the priority updates in _Thread_queue_Extract_locked()
since this function is used by the priority ceiling surrender operations
after the ceiling priority handover from the previous owner to the new
owner. This is especially important in SMP configurations.

Move the _Thread_queue_Context_clear_priority_updates() invocation to
the callers.

Close #3237.

Note: See TracTickets for help on using tickets.