Lines Matching refs:stack
4321 // Simlpe races with different objects (stack, heap globals; scalars, structs).
4349 int *STACK = 0;
4356 *STACK = 1;
4364 STACK = &stack_var;
5051 // test105: Checks how stack grows. {{{1
5215 // test110: TP. Simple races with stack, global and heap objects. {{{1
5220 int *STACK = 0;
5238 (*STACK)++;
5254 STACK = &x;
5270 FAST_MODE_INIT(STACK);
5271 ANNOTATE_EXPECT_RACE(STACK, "real race on stack object");
5301 printf("test110: positive (race on a stack object)\n");
5302 printf("\tSTACK=%d\n", *STACK);
5321 // test111: TN. Unit test for a bug related to stack handling. {{{1
5810 // A. I need different stack traces for different accesses.
6139 // test131 does the same for stack.
6170 // test131: TN. Stack. {{{1
6172 // Same as test130, but for stack.
6174 void RealWorker() { // Touch stack.
6179 void Worker() { // Spawn few threads that touch stack.
6190 printf("test131: stack\n");
6346 // test137 TP. Races on stack variables. {{{1
6352 int stack;
6355 int *racey = &stack;
6364 printf("test137: TP. Races on stack variables.\n");
7014 // Some functions to make the stack trace non-trivial.
7074 // Some functions to make the stack trace non-trivial.
7112 // test312: A test with a very deep stack. {{{1
7137 printf("test312: simple race with deep stack.\n");