#1357 closed defect (fixed)

creating task with RTEMS_NO_ASR has no effect

Reported by: Nickolay Semyonov-Kolchin Owned by: Joel Sherrill
Priority: normal Milestone: 4.10
Component: score Version: 4.9
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Our partners found that RTEMS_NO_ASR in rtems_task_create has no effect. ASR is enabled after task start.

This is because _ASR_Initialize is called after rtems_task_create.

I.e. rtems_task_create set Signal.is_enabled to 'false'. But _ASR_Initialize always reset Signal.is_enabled to 'true'.

Bug exists in 4.9 and current CVS.

Patch against 4.9.1 attached.

Attachments (5)

asr_test.c (1.1 KB) - added by Nickolay Semyonov-Kolchin on Jan 21, 2009 at 4:28:51 AM.
testcase
asr.diff (471 bytes) - added by Nickolay Semyonov-Kolchin on Jan 21, 2009 at 4:29:23 AM.
patch
pr1357-cvs.diff (6.1 KB) - added by Joel Sherrill on Jan 21, 2009 at 7:40:20 PM.
Patch against CVS
pr1357-49.diff (6.1 KB) - added by Joel Sherrill on Jan 21, 2009 at 7:40:38 PM.
Patch against 4.9
pr1357-48.diff (6.0 KB) - added by Joel Sherrill on Jan 21, 2009 at 7:40:53 PM.
Patch against 4.8

Download all attachments as: .zip

Change History (8)

Changed on Jan 21, 2009 at 4:28:51 AM by Nickolay Semyonov-Kolchin

Attachment: asr_test.c added

testcase

Changed on Jan 21, 2009 at 4:29:23 AM by Nickolay Semyonov-Kolchin

Attachment: asr.diff added

patch

Changed on Jan 21, 2009 at 7:40:20 PM by Joel Sherrill

Attachment: pr1357-cvs.diff added

Patch against CVS

Changed on Jan 21, 2009 at 7:40:38 PM by Joel Sherrill

Attachment: pr1357-49.diff added

Patch against 4.9

Changed on Jan 21, 2009 at 7:40:53 PM by Joel Sherrill

Attachment: pr1357-48.diff added

Patch against 4.8

comment:1 Changed on Jan 21, 2009 at 7:41:32 PM by Joel Sherrill

attachments.isobsolete: 01

comment:2 Changed on Jan 21, 2009 at 7:41:55 PM by Joel Sherrill

attachments.isobsolete: 01

comment:3 Changed on Jan 21, 2009 at 7:43:28 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

Patch applied to 4.8, 4.9 and CVS.

For those using older versions, a fix for this PR is also available in the 4.6 and 4.7 Legacy releases for those with Legacy Support agreements.

Note: See TracTickets for help on using tickets.