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>
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>