[Bug 1582] New: _Thread_Evaluate_mode only used by rtems_task_mode

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Jun 21 21:11:39 UTC 2010


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

           Summary: _Thread_Evaluate_mode only used by rtems_task_mode
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: minor
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: giddyup44 at yahoo.com


Created an attachment (id=812)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=812)
Patch to make _Thread_Evaluate_mode an inline function.

The function _Thread_Evaluate_mode is only used by the rtems_task_mode
function. I propose making it an inline function and removing the
threadevaluatemode.c function from cpukit/score/src.

The attached patch provides the inline function and changes Makefile.am to
remove the threadevaluatemode.c file from being compiled.

Also, I did not find a testcase in the testsuite that calls rtems_task_mode.

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