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!