mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-27 10:24:04 +00:00

The task snapshot tests use esp_cpu_stall() to stall the other CPU before manually walking the task lists. However, it is possible that the other CPU was also accessing the task lists when esp_cpu_stall() is called, leading to flakey tests This commit fixes the test by using a 2-way handshake instead of esp_cpu_stall().