mirror of
https://github.com/espressif/esp-idf.git
synced 2026-02-08 16:19:39 -05:00
Earlier recursive mutex was being used for this but since SCOMPARE1 is already being saved/restored during context switch, atomic compare and set can be used for this. Signed-off-by: Mahavir Jain <mahavir@espressif.com>