memory_ordering
109 #if USE_CPU_FENCE                                                                                                                                                     
110         asm volatile("mfence" ::: "memory");  // Prevent CPU reordering
111 #else
112         asm volatile("" ::: "memory");  // Prevent compiler reordering
113 #endif
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License