#820 closed defect (fixed)

core msgq count not atomic with chain inserts

Reported by: ulf.ivraeus Owned by: Joel Sherrill
Priority: highest Milestone: 2
Component: score Version: 4.5
Severity: critical Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

The count of pending messages is not updated atomically with the insert onto the chain so there is the potential for inconsistencies. This is especially noticeable given the distance between the increment and the check for notification.

Release:
4.5 and newer

Environment:
all RTEMS targets since this is shared code

Attachments (3)

pr820.diff (5.0 KB) - added by ulf.ivraeus on 12/03/06 at 13:31:13.
pr820.diff
pr820-46.diff (5.2 KB) - added by ulf.ivraeus on 12/03/06 at 13:31:13.
pr820-46.diff
pr820_v1.diff (5.0 KB) - added by ulf.ivraeus on 12/03/06 at 13:31:13.
pr820.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on 09/01/05 at 15:38:21 by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Attached patch applied to 4.6 branch and CVS trunk.

Changed on 12/03/06 at 13:31:13 by ulf.ivraeus

Attachment: pr820_v1.diff added

pr820.diff

Note: See TracTickets for help on using tickets.