mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04: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().