Skip to content
  1. Nov 21, 2016
  2. Nov 20, 2016
    • Gregory Nutt's avatar
      Update README · d83ad629
      Gregory Nutt authored
      d83ad629
    • Gregory Nutt's avatar
      Update TODO list · cee8d59b
      Gregory Nutt authored
      cee8d59b
    • Gregory Nutt's avatar
      Update README and TODO list · 01ade480
      Gregory Nutt authored
      01ade480
    • Gregory Nutt's avatar
      This commit adds a new internal interfaces and fixes a problem with three APIs... · e24f2814
      Gregory Nutt authored
      This commit adds a new internal interfaces and fixes a problem with three APIs in the SMP configuration.  The new internal interface is sched_cpu_pause(tcb).  This function will pause a CPU if the task associated with 'tcb' is running on that CPU.  This allows a different CPU to modify that OS data stuctures associated with the CPU.  When the other CPU is resumed, those modifications can safely take place.
      
      The three fixes are to handle cases in the SMP configuration where one CPU does need to make modifications to TCB and data structures on a task that could be running running on another CPU.  Those three cases are task_delete(), task_restart(), and execution of signal handles.  In all three cases the solutions is basically the same:  (1) Call sched_cpu_pause(tcb) to pause the CPU on which the task is running, (2) perform the necessary operations, then (3) call up_cpu_resume() to restart the paused CPU.
      e24f2814
  3. Nov 19, 2016
  4. Nov 18, 2016
  5. Nov 17, 2016