[RTEMS Project] #2268: threadstartmultitasking.c has a FIXME on SMP path

RTEMS trac trac at rtems.org
Fri Feb 13 20:47:47 UTC 2015


#2268: threadstartmultitasking.c has a FIXME on SMP path
---------------------------+-----------------------------
 Reporter:  joel.sherrill  |      Owner:  sebastian.huber
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.11
Component:  General        |    Version:  4.11
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 If this comment is correct, then there should be a ticket to address this
 issue. If this problem still exists, then elaborate in this ticket and
 reference it in the code.  The milestone may be wrong. Please adjust. I
 set it to 4.11 so we could evaluate it.

    * The _CPU_Context_Restart_self() implementations usually assume that
 self
    * context is executing.
    *
    * FIXME: We have a race condition here in case another thread already
    * performed scheduler operations and moved our heir thread to another
    * processor.  The time frame for this is likely too small to be
 practically
    * relevant.

--
Ticket URL: <http://devel.rtems.org/ticket/2268>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list