]> granicus.if.org Git - esp-idf/commit
freertos: Fix bug with xTaskResumeAll() not resuming all tasks
authorAngus Gratton <angus@espressif.com>
Thu, 28 Sep 2017 00:58:32 +0000 (10:58 +1000)
committerAngus Gratton <gus@projectgus.com>
Tue, 10 Oct 2017 23:48:20 +0000 (10:48 +1100)
commitf2f9170abc190e75e5407a342000674dc6118210
tree3eeb9b4f19b425db8d5376e2b69ebd5331c8fa60
parent3106ca1c1e7735e88deb77c6fd4ce5721a28b2b5
freertos: Fix bug with xTaskResumeAll() not resuming all tasks

Previously if multiple tasks had been added to xPendingReadyList for the CPU, only the first one was resumed.

Includes a test case for resuming multiple (pending) tasks on xTaskResumeAll().

Document the limitation that while scheduler is suspended on one CPU, it can't wake tasks on either CPU.
components/freertos/tasks.c
components/freertos/test/test_suspend_scheduler.c
docs/api-guides/freertos-smp.rst
tools/unit-test-app/sdkconfig