Home
last modified time | relevance | path

Searched refs:PTHREAD_CREATE_DETACHED (Results 1 - 25 of 47) sorted by relevance

12

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getdetachstate/
H A D1-2.c10 * is either PTHREAD_CREATE_DETACHED or PTHEAD_CREATE_JOINABLE.
16 * PTHREAD_CREATE_DETACHED.
18 * attribute object, is should be PTHREAD_CREATE_DETACHED.
38 /* Set the detachstate to PTHREAD_CREATE_DETACHED. */ in main()
39 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_DETACHED) != in main()
46 * of PTHREAD_CREATE_DETACHED from the attribute object. */ in main()
52 if (detach_state == PTHREAD_CREATE_DETACHED) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setdetachstate/
H A D1-2.c11 * The detach state is either PTHREAD_CREATE_DETACHED or
14 * A value of PTHREAD_CREATE_DETACHED shall cause all threads created with
24 * PTHREAD_CREATE_DETACHED.
26 * PTHREAD_CREATE_DETACHED.
45 /* Set the attribute object to PTHREAD_CREATE_DETACHED. */ in main()
46 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_DETACHED) != in main()
52 /* Check to see if the detachstate is truly PTHREAD_CREATE_DETACHED. */ in main()
58 if (detach_state == PTHREAD_CREATE_DETACHED) { in main()
H A D2-1.c16 * PTHREAD_CREATE_DETACHED.
47 /* Set the attribute object to PTHREAD_CREATE_DETACHED. */ in main()
48 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_DETACHED) != in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/
H A D13-1-buildonly.c20 pthread_attr_setdetachstate(&a, PTHREAD_CREATE_DETACHED); in dummy_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/speculative/
H A D6-1.c27 * attribute is PTHREAD_CREATE_DETACHED.
51 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
H A D4-1.c57 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_DETACHED) != in main()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_attr_setdetachstate.c35 ret = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in pthread_attr_setdetachstate_0100()
H A Dpthread_create.c121 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in pthread_create_0500()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
H A Dpthread_attr_test.cpp31 * @tc.desc: Setting the PTHREAD_CREATE_DETACHED property for the thread returns success.
36 EXPECT_EQ(0, pthread_attr_setdetachstate(&pthreadAttrMusl, PTHREAD_CREATE_DETACHED)); in HWTEST_F()
38 EXPECT_EQ(PTHREAD_CREATE_DETACHED, attrStateMusl); in HWTEST_F()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D3-1.c78 ret = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in main()
H A D14-1.c131 SAFE_PFUNC(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)); in test()
/third_party/musl/porting/linux/user/src/mq/
H A Dmq_notify.c51 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in mq_notify()
/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap11.c101 ret = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in check()
/third_party/musl/porting/linux/user/src/time/
H A Dtimer_create.c101 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in timer_create()
/third_party/musl/src/aio/
H A Dlio_listio.c131 pthread_attr_setdetachstate(&a, PTHREAD_CREATE_DETACHED); in lio_listio()
/third_party/musl/porting/liteos_a/user/src/aio/
H A Dlio_listio.c132 pthread_attr_setdetachstate(&a, PTHREAD_CREATE_DETACHED); in lio_listio()
/third_party/ltp/testcases/kernel/sched/clisrv/
H A Dpthserv.c134 if (pthread_attr_setdetachstate(&newattr, PTHREAD_CREATE_DETACHED)) in main()
/third_party/ltp/testcases/kernel/sound/
H A Dsnd_timer01.c90 pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED); in run()
/third_party/musl/src/time/
H A Dtimer_create.c150 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in timer_create()
/third_party/musl/porting/uniproton/kernel/include/
H A Dpthread.h34 #define PTHREAD_CREATE_DETACHED 1 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dpthread.h34 #define PTHREAD_CREATE_DETACHED 1 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dpthread.h34 #define PTHREAD_CREATE_DETACHED 1 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dpthread.h34 #define PTHREAD_CREATE_DETACHED 1 macro
/third_party/ltp/testcases/kernel/sched/nptl/
H A Dnptl01.c196 PTHREAD_CREATE_DETACHED)) != 0) { in create_child_thread()
/third_party/musl/libc-test/src/api/
H A Dpthread.c25 C(PTHREAD_CREATE_DETACHED) in f()

Completed in 7 milliseconds

12