Lines Matching refs:Thread
36 atf_set "descr" "Test thread sanitizer for data race condition"
43 atf_set "descr" "Test thread sanitizer for data race with profiling option"
49 atf_set "descr" "Test thread sanitizer for data race with position independent code (PIC) flag"
55 atf_set "descr" "Test thread sanitizer for data race with position independent execution (PIE) flag"
64 void *Thread(void *a) { pthread_barrier_wait(&barrier); GlobalData = 42; return 0; }
68 pthread_create(&t, NULL, Thread, NULL);
76 c++ -fsanitize=thread -o test test.cc
86 void *Thread(void *a) { pthread_barrier_wait(&barrier); GlobalData = 42; return 0; }
90 pthread_create(&t, NULL, Thread, NULL);
98 c++ -fsanitize=thread -static -o test -pg test.cc
114 void *Thread(void *a) { pthread_barrier_wait(&barrier); GlobalData = 42; return 0; }
118 pthread_create(&t, NULL, Thread, NULL);
126 c++ -fsanitize=thread -fPIC -shared -o libtest.so pic.cc
127 c++ -o test test.cc -fsanitize=thread -L. -ltest
142 void *Thread(void *a) { pthread_barrier_wait(&barrier); GlobalData = 42; return 0; }
146 pthread_create(&t, NULL, Thread, NULL);
154 c++ -fsanitize=thread -o test -fpie -pie test.cc