[Bug 1817] Variable _Thread_Heir is not protected against interrupts

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Sep 22 14:20:04 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1817

--- Comment #9 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-09-22 09:20:03 CDT ---
(In reply to comment #8)
> Yes, you are right, if you consider *a=b as atomic instruction, the 
> _ISR_Disable
> *a = b;
> _ISR_Enable
> … is unnecessary. Please just keep in mind the final assembly code, which is
> not atomic.

Yes, you are right.  We have a read and a write.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list