esp-idf/components/freertos
Mahavir Jain a8260c9c77 freertos: fix thread safety for checking scheduler state
This issue was earlier fixed in commit 79e74e5d5f
but during migration to newer FreeRTOS release, it got introduced again.

This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.

Relevant https://github.com/espressif/esp-idf/issues/4230
Closes https://github.com/espressif/esp-idf/issues/7726
Closes IDFGH-6041
2021-11-25 19:32:19 +05:30
..
include/freertos Merge branch 'docs/provide_link_to_pcb_layout_for_ethernet_board_v4.3' into 'release/v4.3' 2021-07-23 10:57:37 +00:00
port Merge branch 'bugfix/flash_rodata_any_alignement_v4.3' into 'release/v4.3' 2021-06-22 00:23:49 +00:00
test Merge branch 'bugfix/freertos_ut_suspend_v4.3' into 'release/v4.3' 2021-09-13 04:14:14 +00:00
CMakeLists.txt freertos: add xQueueGenericReceive for backward compatibility 2020-11-27 19:08:42 +05:30
component.mk freertos: Add RISC-V port 2020-11-13 07:49:11 +11:00
croutine.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
event_groups.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
freertos_v8_compat.c freertos: add xQueueGenericReceive for backward compatibility 2020-11-27 19:08:42 +05:30
FreeRTOS-openocd.c freertos: fix defining uxTopUsedPriority for esp32s2beta 2019-10-29 16:38:48 +01:00
History.txt Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
Kconfig freertos: Use the standard assert() function for configASSERT 2021-04-02 11:07:23 +11:00
license.txt Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
linker.lf Merge branch 'bugfix/ldgen_ignore_nonexistent_archives_and_obj' into 'master' 2021-01-21 15:59:35 +08:00
list.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
queue.c freertos: Check for arithmetic overflows on queue creation 2021-05-04 18:30:49 +10:00
sdkconfig.rename freertos: always enable static allocation 2020-12-29 16:18:04 +01:00
stream_buffer.c freertos: Add addition overflow check for stream buffer 2021-05-04 18:30:49 +10:00
tasks.c freertos: fix thread safety for checking scheduler state 2021-11-25 19:32:19 +05:30
timers.c Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00