Home
last modified time | relevance | path

Searched refs:thread_func (Results 1 – 7 of 7) sorted by relevance

/system/uapp/thread-depth/
A Dthread-depth.c16 static int thread_func(void* arg) { in thread_func() function
25 int ret = thrd_create_with_name(&thread, thread_func, NULL, "depth"); in thread_func()
46 int ret = thrd_create_with_name(&thread, thread_func, NULL, "depth"); in main()
/system/uapp/thread-stress/
A Dthread-stress.c14 static int thread_func(void* arg) { in thread_func() function
19 int ret = thrd_create_with_name(thread, thread_func, NULL, "stress"); in thread_create()
/system/dev/usb/usb-peripheral-test/
A Dtest.cpp65 auto thread_func = [](struct usb_request** req) -> void { in control_interrupt_test() local
69 std::thread wait_thread (thread_func, &complete_req); in control_interrupt_test()
141 auto thread_func = [](struct usb_request** reqs) -> void { in bulk_test() local
146 std::thread wait_thread (thread_func, complete_reqs); in bulk_test()
/system/uapp/crasher/
A Dcrasher.c137 int thread_func(void* arg) { in thread_func() function
149 int ret = thrd_create_with_name(&threads[i], thread_func, &args[i], "deep_sleep"); in blind_write_multithreaded()
/system/utest/exception/
A Dexception.c29 static int thread_func(void* arg);
373 …tu_thread_create_c11(&thread, thread_func, (void*) (uintptr_t) channel_from_thread, "msg-loop-subt… in msg_loop()
406 static int thread_func(void* arg) in thread_func() function
549 tu_thread_create_c11(&thread, thread_func, (void*)(uintptr_t)their_channel, in thread_set_close_set_test()
731 tu_thread_create_c11(&cthread, thread_func, (void*)(uintptr_t)their_channel, in dead_thread_unbind_helper()
1137 …tu_thread_create_c11(&thread, thread_func, (void*) (uintptr_t) their_channel, "thread-gone-test-th… in thread_exit_notification_test()
1656 tu_thread_create_c11(&thread, thread_func, in multiple_threads_registered_death_test()
/system/utest/thread-state/
A Dthread-state.cpp26 static int thread_func(void* arg);
403 static int thread_func(void* arg) { in thread_func() function
/system/utest/core/threads/
A Dthreads.cpp1055 bool Init(ThreadFunc thread_func, RegisterStruct* state) { in Init() argument
1058 ASSERT_TRUE(start_thread((void (*)(void*))thread_func, state, &thread_, &thread_handle_)); in Init()

Completed in 23 milliseconds