[Bug 1791] DispatchDisableLevel is not smp safe

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed May 11 21:18:04 UTC 2011


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

Gedare <giddyup44 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giddyup44 at yahoo.com

--- Comment #1 from Gedare <giddyup44 at yahoo.com> 2011-05-11 16:18:04 CDT ---
+   * The following declares the a smp spinlock to be used to control
typo: s/the a/a

+  SCORE_EXTERN SMP_lock_spinlock_nested_Control
_Thread_Dispatch_smp_spin_lock;
I'm not sold on the name, unless this is the only lock that will be associated
with any _Thread_Dispatch handler.  We should develop a consistent convention
for lock names.

cpukit/score/inline/rtems/score/thread.inl:
Function prototypes should be in .h files. Why aren't these functions inline in
the SMP version?

_Thread_Dispatch_set_disable_level(): This function confuses me. Why looping up
and then down?

-- 
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