Lines Matching full:flag2
2511 int FLAG2 = 0;
2514 // The variables FLAG1 and FLAG2 used for synchronization and as
2521 while(!FLAG2)
2523 GLOB2=FLAG2;
2527 FLAG2=GLOB1;
2554 int FLAG2 = 0;
2560 while(!FLAG2) usleep(1);
2562 GLOB2=FLAG2;
2566 FLAG2=GLOB1;
2576 ANNOTATE_BENIGN_RACE(&FLAG2, "synchronization via 'safe' race");
2593 int FLAG2 = 0;
2612 GLOB2=FLAG2;
2616 FLAG2=GLOB1;