How to synchronize on ARM when one thread is writing code which the other thread may be executing concurrently? How to synchronize on ARM when one thread is writing code which the other thread may be executing concurrently? multithreading multithreading