Home | History | Annotate | Download | only in tests

Lines Matching full:flag2

2835 int     FLAG2 = 0;
2838 // The variables FLAG1 and FLAG2 used for synchronization and as
2845 while(!FLAG2)
2847 GLOB2=FLAG2;
2851 FLAG2=GLOB1;
2878 int FLAG2 = 0;
2884 while(!FLAG2) usleep(1);
2886 GLOB2=FLAG2;
2890 FLAG2=GLOB1;
2900 ANNOTATE_BENIGN_RACE(&FLAG2, "synchronization via 'safe' race");
2917 int FLAG2 = 0;
2936 GLOB2=FLAG2;
2940 FLAG2=GLOB1;