]> begriffs open source - freertos/commit
Not using pxIndex to iterate ready list in trace utility (#1000)
authorchinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Wed, 6 Mar 2024 07:34:21 +0000 (15:34 +0800)
committerGitHub <noreply@github.com>
Wed, 6 Mar 2024 07:34:21 +0000 (15:34 +0800)
commit30f6061f48e2d54625d31e72ada6f5c474fba99f
tree24b038152fd7894808aeaebc07a06b7fb2c0f04b
parentcff947acd05cc4f6e8c7838701bdc58f8cdf282d
Not using pxIndex to iterate ready list in trace utility (#1000)

* pxIndex should only be used when selecting next task. Altering pxIndex
  of a ready list will cause the scheduler to be unable to select the
  right task to run. Using a for loop if traversing the list for trace
  utility is required.
* Not defining listGET_OWNER_OF_NEXT_ENTRY when using SMP scheduler

---------

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
include/list.h
tasks.c