Are there any available atomic operations?
Posted: Fri Feb 02, 2018 6:49 am
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!
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!