Home
last modified time | relevance | path

Searched refs:detachstate (Results 1 - 15 of 15) sorted by relevance

/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_042.c56 int detachstate; in Testcase() local
69 ret = pthread_attr_getdetachstate(&attr, &detachstate); in Testcase()
71 ICUNIT_ASSERT_EQUAL(detachstate, PTHREAD_CREATE_JOINABLE, detachstate); in Testcase()
104 ret = pthread_attr_getdetachstate(&attr, &detachstate); in Testcase()
106 ICUNIT_ASSERT_EQUAL(detachstate, PTHREAD_CREATE_DETACHED, detachstate); in Testcase()
H A DIt_posix_pthread_011.c44 int detachstate; in Testcase() local
58 ret = pthread_attr_getdetachstate(NULL, &detachstate); in Testcase()
67 ret = pthread_attr_getdetachstate(&attr, &detachstate); in Testcase()
69 ICUNIT_ASSERT_EQUAL(detachstate, PTHREAD_CREATE_DETACHED, detachstate); in Testcase()
H A DIt_posix_pthread_101.c64 attr.detachstate = PTHREAD_CREATE_DETACHED; in Testcase()
H A DIt_posix_pthread_116.c101 attr.detachstate = PTHREAD_CREATE_DETACHED; in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_042.cpp48 int detachstate; in Testcase() local
61 ret = pthread_attr_getdetachstate(&attr, &detachstate); in Testcase()
63 ICUNIT_ASSERT_EQUAL(detachstate, PTHREAD_CREATE_JOINABLE, detachstate); in Testcase()
83 ret = pthread_attr_getdetachstate(&attr, &detachstate); in Testcase()
85 ICUNIT_ASSERT_EQUAL(detachstate, PTHREAD_CREATE_DETACHED, detachstate); in Testcase()
H A DIt_posix_pthread_011.cpp37 int detachstate; in Testcase() local
51 ret = pthread_attr_getdetachstate(&attr, &detachstate); in Testcase()
53 ICUNIT_ASSERT_EQUAL(detachstate, PTHREAD_CREATE_DETACHED, detachstate); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/pthread/
H A DIt_posix_pthread_004.c37 int detachstate; in Testcase() local
51 ret = pthread_attr_getdetachstate(NULL, &detachstate); in Testcase()
60 ret = pthread_attr_getdetachstate(&attr, &detachstate); in Testcase()
62 ICUNIT_GOTO_EQUAL(detachstate, PTHREAD_CREATE_DETACHED, detachstate, EXIT); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/smoke/
H A DIt_posix_pthread_003.cpp46 int detachstate; in Testcase() local
56 pthread_attr_getdetachstate(&aa, &detachstate); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/
H A DIt_posix_pthread_003.c53 int detachstate; in Testcase() local
64 pthread_attr_getdetachstate(&aa, &detachstate); in Testcase()
/kernel/liteos_a/compat/posix/src/
H A Dpthread_attr.c42 attr->detachstate = PTHREAD_CREATE_JOINABLE; in pthread_attr_init()
72 attr->detachstate = (UINT32)detachState; in pthread_attr_setdetachstate()
85 *detachState = (int)attr->detachstate; in pthread_attr_getdetachstate()
H A Dpthread.c176 created->state = (userAttr->detachstate == PTHREAD_CREATE_JOINABLE) ? in SetPthreadDataAttr()
247 if (userAttr.detachstate == PTHREAD_CREATE_DETACHED) { in pthread_create()
413 * Set the detachstate of the thread to "detached". The thread then does not
/kernel/liteos_m/kal/posix/src/
H A Dpthread_attr.c45 attr->detachstate = PTHREAD_CREATE_JOINABLE; in pthread_attr_init()
72 attr->detachstate = (UINT32)detachState; in pthread_attr_setdetachstate()
85 *detachState = (int)attr->detachstate; in pthread_attr_getdetachstate()
H A Dpthread.c165 if (threadAttr->detachstate != PTHREAD_CREATE_DETACHED) { in PthreadCreateAttrInit()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
H A D_pthreadtypes.h68 unsigned int detachstate; member
/kernel/liteos_a/net/telnet/src/
H A Dtelnet_loop.c398 threadAttr->detachstate = PTHREAD_CREATE_DETACHED; in TelnetClientTaskAttr()

Completed in 7 milliseconds