volatile int a = 0, b = 0;. int go;. void *thread1(void *) {. while(go == 0) continue;. a = 1;. //asm volatile("mfence" ::: "memory"); //~ barrier to the ...
確定! 回上一頁