*Please understand that I am not from an English-spoken country, so if you couldn’t understand my question, please let me know so I can explain in other words. J
Is the fence scope of atomic_thread_fence a scope unit that has been designated as “{}”?
For example,MainActivity C++
//section Aif(A == 1){ //section B atomic_thread_fence(..); //section C}//section D
Regarding to the above code, I’d like to know if the fence is applied only in the section B and section C, or it gets applied in other sections too.
Thanks.~