Skip to content
  1. Oct 14, 2016
  2. Oct 11, 2016
  3. Oct 10, 2016
  4. Oct 09, 2016
  5. Oct 08, 2016
  6. Oct 07, 2016
  7. Oct 06, 2016
  8. Oct 05, 2016
  9. Oct 03, 2016
  10. Oct 02, 2016
  11. Oct 01, 2016
    • Gregory Nutt's avatar
      sched/pthread and task: When a pthread is started, there is a small bit of... · 86691838
      Gregory Nutt authored
      sched/pthread and task:  When a pthread is started, there is a small bit of logic that will run on the thread of execution of the new pthread.  In the case where the new pthread has a lower priority than the parent thread, then this could cause both the parent thread and the new pthread to be blocked at the priority of the lower priority pthread (assuming that CONFIG_PRIORITY_INHERITANCE is not selected).
      
      This change temporarily boosts the priority of the new pthread to at least the priority of the new pthread to at least the priority of the parent thread.  When that bit of logic has executed on the thread of execution of the new pthread, it will then drop to the correct priority (if necessary) before calling into the new pthread's entry point.
      86691838
    • Gregory Nutt's avatar