Searched refs:s_y (Results 1 - 3 of 3) sorted by relevance

/external/valgrind/main/drd/tests/
H A Datomic_var.c2 * This test program triggers a single race condition on variable s_y.
33 /* g_dummy[] ensures that s_x and s_y are not in the same cache line. */
35 static int s_y = 0; variable
39 s_y = 1;
48 fprintf(stderr, "y = %d\n", s_y);
H A Dtsan_unittest.cpp4096 /* s_dummy[] ensures that s_x and s_y are not in the same cache line. */
4098 static int s_y; member in namespace:test84
4102 s_y = 1;
4110 printf("y = %d\n", s_y);
4117 FAST_MODE_INIT(&s_y);
4118 ANNOTATE_EXPECT_RACE_FOR_TSAN(&s_y, "test84: TP. true race.");
/external/valgrind/unittest/
H A Dracecheck_unittest.cc3907 /* s_dummy[] ensures that s_x and s_y are not in the same cache line. */
3909 static int s_y; member in namespace:test84
3913 s_y = 1;
3921 printf("y = %d\n", s_y);
3928 ANNOTATE_EXPECT_RACE_FOR_TSAN(&s_y, "test84: TP. true race.");

Completed in 537 milliseconds