Home
last modified time | relevance | path

Searched refs:pthread_detach (Results 1 - 25 of 54) sorted by relevance

123

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
H A D1-2.c19 * pthread_detach() will indicate that the thread resources
101 ret = pthread_detach(pthread_self()); in threaded()
145 /* for detached scenarii, we will call pthread_detach from inside the thread. in main()
146 for joinable scenarii, we'll call pthread_detach from this thread. */ in main()
191 ret = pthread_detach(child); in main()
H A D2-2.c19 * pthread_detach() does not force a thread to terminate.
103 ret = pthread_detach(pthread_self()); in threaded()
108 /* Wait for this semaphore which indicates that pthread_detach has been called */ in threaded()
161 /* for detached scenarii, we will call pthread_detach from inside the thread. in main()
162 for joinable scenarii, we'll call pthread_detach from this thread. */ in main()
197 ret = pthread_detach(child); in main()
229 ("pthread_detach made the thread terminate"); in main()
H A D4-2.c8 * Test that pthread_detach()
59 ret = pthread_detach(new_th); in main()
61 /* Check return value of pthread_detach() */ in main()
H A D1-1.c8 * Test that pthread_detach()
15 * 2. Detach that thread with pthread_detach()
66 if (pthread_detach(new_th) != 0) { in main()
H A D2-1.c8 * Test that pthread_detach()
10 * If 'thread' has not terminated, pthread_detach() shall not cause it to
11 * terminate. The effect of multiple pthread_detach() calls on the same
65 if (pthread_detach(new_th) != 0) { in main()
H A D3-1.c8 * Test that pthread_detach()
63 ret = pthread_detach(new_th); in main()
68 /* Check return value of pthread_detach() */ in main()
H A D4-1.c8 * Test that pthread_detach()
70 ret = pthread_detach(new_th); in main()
75 /* Check return value of pthread_detach() */ in main()
/third_party/vk-gl-cts/framework/delibs/dethread/unix/
H A DdeThreadUnix.c122 pthread_detach(thread->thread); in deThread_join()
137 int ret = pthread_detach(thread->thread); in deThread_destroy()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/
H A D9-1-buildonly.c10 int pthread_detach(pthread_t);
19 pthread_detach(a); in dummy_func()
/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_detach.c18 weak_alias(__pthread_detach, pthread_detach);
/third_party/musl/src/thread/
H A Dpthread_detach.c28 weak_alias(__pthread_detach, pthread_detach);
/third_party/musl/porting/liteos_m/user/src/thread/
H A Dpthread_detach.c19 weak_alias(__pthread_detach, pthread_detach);
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_detach.c33 * @tc.desc: Verify pthread_detach process sucess
41 pthread_detach(pid); in pthread_detach_0100()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_init/
H A D2-1.c76 /* If pthread_detach fails, that means that the test fails as well. */ in main()
77 ret_val = pthread_detach(new_th); in main()
85 /* pthread_detach() failed for another reason. */ in main()
87 printf("Error in pthread_detach(), error: %d\n", in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setdetachstate/
H A D2-1.c11 * thread by the pthread_detach() or pthread_join() function is an error.
18 * 4. Call pthread_detach() and pthread_join() on this thread, it should give
60 /* If pthread_join() or pthread_detach fail, that means that the in main()
69 ret_val = pthread_detach(new_th); in main()
/third_party/musl/porting/liteos_m/user/include/
H A Dusr_lib_define.h62 #define pthread_detach b_pthread_detach macro
H A Dusr_lib_ops.h64 int (*pthread_detach)(pthread_t thread); member
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D3-1.c20 * is joinable, and so calling the functions pthread_detach() should not fail.
87 ret = pthread_detach(new_th); in main()
90 "pthread_detach() failed on joinable thread: %s\n", in main()
/third_party/musl/libc-test/src/regression/
H A Dpthread-robust-detach.c38 T(r, pthread_detach(td)); in f()
/third_party/curl/lib/
H A Dcurl_threads.c86 pthread_detach(*hnd); in Curl_thread_destroy()
/third_party/ltp/testcases/realtime/func/async_handler/
H A Dasync_handler_jk.c154 pthread_detach(server->pthread); in main()
/third_party/python/Python/
H A Dthread_pthread_stubs.h92 pthread_detach(pthread_t thread) in pthread_detach() function
/third_party/python/Include/cpython/
H A Dpthread_stubs.h69 PyAPI_FUNC(int) pthread_detach(pthread_t thread);
/third_party/musl/src/mq/
H A Dmq_notify.c42 pthread_detach(pthread_self()); in start()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
H A Ds-c1.c158 ret = pthread_detach(pthread_self()); in threaded()

Completed in 9 milliseconds

123