Home
last modified time | relevance | path

Searched refs:main_thread (Results 1 – 18 of 18) sorted by relevance

/external/compiler-rt/test/tsan/
Datomic_race.cc8 void Test(int test, T *p, bool main_thread) { in Test() argument
11 if (main_thread) in Test()
16 if (main_thread) in Test()
21 if (main_thread) in Test()
26 if (main_thread) in Test()
Datomic_norace.cc8 void Test(int test, T *p, bool main_thread) { in Test() argument
11 if (main_thread) in Test()
16 if (main_thread) in Test()
21 if (main_thread) in Test()
26 if (main_thread) in Test()
/external/google-breakpad/src/client/mac/tests/
Dminidump_generator_test.cc124 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
125 ASSERT_TRUE(main_thread); in TEST_F()
126 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
215 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
216 ASSERT_TRUE(main_thread); in TEST_F()
217 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
305 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
306 ASSERT_TRUE(main_thread); in TEST_F()
307 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
Dcrash_generation_server_test.cc264 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
265 ASSERT_TRUE(main_thread); in TEST_F()
266 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
343 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F() local
344 ASSERT_TRUE(main_thread); in TEST_F()
345 MinidumpContext* context = main_thread->GetContext(); in TEST_F()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
D2-1.c23 pthread_t main_thread; in main() local
25 main_thread = pthread_self(); in main()
27 if (pthread_kill(main_thread, 0) != 0) { in main()
D3-1.c21 pthread_t main_thread; in main() local
23 main_thread = pthread_self(); in main()
25 if (pthread_kill(main_thread, 0) != 0) { in main()
D7-1.c23 pthread_t main_thread; in main() local
25 main_thread = pthread_self(); in main()
27 if (EINVAL != pthread_kill(main_thread, -1)) { in main()
/external/valgrind/none/tests/
Dpth_blockedsig.c11 static pthread_t main_thread; variable
23 if (pthread_kill (main_thread, SIGUSR1) != 0) in child_main()
49 main_thread = pthread_self (); in main()
/external/squashfs-tools/squashfs-tools/
Drestore.c49 extern pthread_t reader_thread, writer_thread, main_thread;
120 pthread_cancel(main_thread); in restore_thrd()
121 pthread_join(main_thread, NULL); in restore_thrd()
Dmksquashfs.c287 pthread_t reader_thread, writer_thread, main_thread; variable
4449 main_thread = pthread_self(); in initialise_threads()
/external/linux-kselftest/tools/testing/selftests/mqueue/
Dmq_perf_tests.c80 pthread_t main_thread; variable
210 if (pthread_self() != main_thread) in sig_action_SIGUSR1()
223 if (pthread_self() != main_thread) in sig_action()
224 pthread_kill(main_thread, signum); in sig_action()
545 main_thread = pthread_self(); in main()
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dtrace_event_stats_unittest.py39 self.main_thread = self.renderer_process.GetOrCreateThread(tid=11)
46 return self.main_thread
Drendering_frame_unittest.py109 main_thread = process.GetOrCreateThread(tid=11)
115 main_thread.PushSlice(event)
/external/compiler-rt/lib/asan/
Dasan_rtl.cc541 AsanThread *main_thread = AsanThread::Create( in AsanInitInternal() local
544 CHECK_EQ(0, main_thread->tid()); in AsanInitInternal()
545 SetCurrentThread(main_thread); in AsanInitInternal()
546 main_thread->ThreadStart(internal_getpid(), in AsanInitInternal()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_thread_registry_test.cc133 ThreadContextBase *main_thread = registry->GetThreadLocked(0); in TestRegistry() local
134 EXPECT_EQ(main_thread, registry->FindThreadContextLocked( in TestRegistry()
/external/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c191 void main_thread(void) in main_thread() function
351 main_thread(); in main()
/external/compiler-rt/lib/msan/
Dmsan.cc419 MsanThread *main_thread = MsanThread::Create(nullptr, nullptr); in __msan_init() local
420 SetCurrentThread(main_thread); in __msan_init()
421 main_thread->ThreadStart(); in __msan_init()
/external/chromium-trace/catapult/telemetry/third_party/tsproxy/
Dtsproxy.py72 def SendMessage(self, message, main_thread = True): argument
86 …if main_thread and connection_id in connections and self.peer in connections[connection_id]and sel…