Home
last modified time | relevance | path

Searched refs:child_thread (Results 1 – 25 of 25) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
D6-1.c35 pthread_t child_thread; in main() local
40 rc = pthread_create(&child_thread, NULL, thread_function, NULL); in main()
46 rc = pthread_join(child_thread, NULL); in main()
53 memcpy(&invalid_tid, &child_thread, sizeof(pthread_t)); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/
D3-2.c86 pthread_t child_thread; in main() local
98 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
120 if (pthread_kill(child_thread, SIGUSR1) != 0) { in main()
158 if (pthread_join(child_thread, NULL) != 0) { in main()
D3-1.c80 pthread_t child_thread; in main() local
91 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
113 if (pthread_kill(child_thread, SIGUSR1) != 0) { in main()
166 if (pthread_join(child_thread, NULL) != 0) { in main()
D1-1.c67 pthread_t child_thread; in main() local
84 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
136 if (pthread_join(child_thread, NULL) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/
D3-1.c53 pthread_t child_thread; in main() local
70 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
76 pthread_join(child_thread, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/
D4-1.c55 pthread_t child_thread; in main() local
83 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
89 pthread_join(child_thread, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_unlock/
D3-1.c80 pthread_t child_thread; in main() local
86 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
106 if (pthread_join(child_thread, NULL) != 0) { in main()
D1-1.c70 pthread_t child_thread; in main() local
96 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
102 if (pthread_join(child_thread, NULL) != 0) { in main()
D1-2.c75 pthread_t child_thread; in main() local
94 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
134 if (pthread_join(child_thread, NULL) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/
D1-1.c78 pthread_t child_thread; in main() local
97 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
103 pthread_join(child_thread, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/
D1-2.c74 pthread_t child_thread; in main() local
97 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
138 if (pthread_join(child_thread, NULL) != 0) { in main()
D1-1.c101 pthread_t child_thread; in main() local
132 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
138 if (pthread_join(child_thread, &value_ptr) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/
D4-1.c72 pthread_t child_thread; in main() local
89 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
126 pthread_cancel(child_thread); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/
D2-1.c83 pthread_t child_thread, watchdog_thread; in main() local
93 if (pthread_create(&child_thread, NULL, fn_chld, NULL) != 0) { in main()
134 pthread_cancel(child_thread); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/
D1-1.c73 pthread_t child_thread; in main() local
82 ret = pthread_create(&child_thread, NULL, threaded, &hispid); in main()
86 ret = pthread_join(child_thread, NULL); in main()
/external/ltp/testcases/kernel/syscalls/tgkill/
Dtgkill03.c16 static pthread_t child_thread; variable
53 SAFE_PTHREAD_CREATE(&child_thread, NULL, child_thread_func, NULL); in setup()
66 SAFE_PTHREAD_JOIN(child_thread, NULL); in cleanup()
/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-5.c45 void *child_thread(void *arg) in child_thread() function
90 create_other_thread(child_thread, NULL); in do_test()
Dtestpi-6.c47 void *child_thread(void *arg) in child_thread() function
90 create_other_thread(child_thread, NULL); in do_test()
/external/chromium-trace/catapult/devil/devil/utils/
Dtimeout_retry.py151 child_thread = reraiser_thread.ReraiserThread(lambda: func(*args, **kwargs),
154 thread_group = TimeoutRetryThreadGroup(timeout, threads=[child_thread])
/external/grpc-grpc/test/core/end2end/tests/
Dconnectivity.cc36 static void child_thread(void* arg) { in child_thread() function
68 grpc_core::Thread thd("grpc_connectivity", child_thread, &ce); in test_connectivity()
/external/ltp/testcases/cve/
Dcve-2015-3290.c337 static void *child_thread(void *arg LTP_ATTRIBUTE_UNUSED) in child_thread() function
436 SAFE_PTHREAD_CREATE(&threads[i], NULL, child_thread, NULL); in do_child()
/external/linux-kselftest/tools/testing/selftests/net/
Dtcp_mmap.c135 void *child_thread(void *arg) in child_thread() function
305 res = pthread_create(&th, NULL, child_thread, in do_accept()
/external/google-breakpad/src/client/mac/tests/
Dexception_handler_test.cc276 mach_port_t child_thread = child_message.GetTranslatedPort(1); in TEST_F() local
278 ASSERT_NE((mach_port_t)MACH_PORT_NULL, child_thread); in TEST_F()
282 child_thread, in TEST_F()
/external/stressapptest/src/
Dworker.cc2284 NetworkSlaveThread& child_thread = child_workers_[i]->thread; in ReapSlaves() local
2286 child_thread.JoinThread(); in ReapSlaves()
2287 if (child_thread.GetStatus() != 1) { in ReapSlaves()
2289 child_thread.GetStatus()); in ReapSlaves()
2292 errorcount_ += child_thread.GetErrorCount(); in ReapSlaves()
2294 child_thread.GetErrorCount()); in ReapSlaves()
2295 pages_copied_ += child_thread.GetPageCount(); in ReapSlaves()
/external/tensorflow/tensorflow/python/debug/cli/
Dcurses_ui_test.py315 def child_thread(): function
320 t = threading.Thread(target=child_thread)