You can chat about native SDK questions and issues here.
User avatar
By lpares12
#73647 Hi,

I was just wondering if there are any available atomic operations like the typicial test_and_set() or test_and_increment() or any similar ones.

Would like to update a variable making sure no interrupts or any other thing will happen in the middle of the operation but I can't find anything in the sdk documentation of the non-os-sdk.

Thanks!
User avatar
By eriksl
#78125 I don't recall having seen them in the xtensa ISA document.

Having said that, what do you need it for? If you're using the RTOS SDK, I guess the RTOS SDK itself will hand the proper tools for task synchronisation. In the NON_OS SDK, you won't need, your code will be interrupted by interrupts handlers only.