esp-idf/components/freertos/FreeRTOS-Kernel
Darian Leung d382a2c952 freertos: Synchronize tasks.c functions (major changes) to v10.4.3
This commit synchronizes multiple functions that contain major differences with
upstream v10.4.3. Multi-core modifications are then reapplied to the function.

Vanilla code uses "pxTCB == pxCurrentTCB" to check whether a task is currently
running. This commit adds the following macros instead.

- taskIS_CURRENTLY_RUNNING()
- taskIS_CURRENTLY_RUNNING_ON_CORE()

The following functions have been updated to use those macros instead.

- eTaskGetState()
- vTaskPrioritySet()
- vTaskResume()

The following functions have been synchronized with upstream v10.4.3.
Multi-core modifications are then reapplied.

- vTaskSuspend()
- vTaskDelete()
- prvGetExpectedIdleTime()
2022-09-07 23:34:52 +08:00
..
include/freertos freertos: Revert critical section macro 2022-08-12 16:17:45 +08:00
portable freertos, ulp: Fix header inclusion to be compatible with new esp32c6 target 2022-09-06 09:13:20 +00:00
croutine.c freertos: Add SPDX license identifiers and update xtensa port files 2022-02-03 17:08:14 +08:00
event_groups.c freertos: Restore xAlreadyYielded usage in event_groups 2022-09-07 23:34:52 +08:00
GitHub-FreeRTOS-Kernel-Home.url freertos: update freertos folder structure to match upstream 2021-10-29 12:05:13 +08:00
History.txt freertos: update freertos folder structure to match upstream 2021-10-29 12:05:13 +08:00
LICENSE.md freertos: update freertos folder structure to match upstream 2021-10-29 12:05:13 +08:00
list.c freertos: Add SPDX license identifiers and update xtensa port files 2022-02-03 17:08:14 +08:00
queue.c freeRTOS: Synchronize queue functions to v10.4.3 2022-09-07 23:34:52 +08:00
Quick_Start_Guide.url freertos: update freertos folder structure to match upstream 2021-10-29 12:05:13 +08:00
stream_buffer.c freertos: Synchronize xStreamBufferSend() to v10.4.3 2022-09-07 23:34:52 +08:00
tasks.c freertos: Synchronize tasks.c functions (major changes) to v10.4.3 2022-09-07 23:34:52 +08:00
timers.c freertos: Revert critical section macro 2022-08-12 16:17:45 +08:00