/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
H A D | It_posix_pthread_042.c | 56 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 D | It_posix_pthread_011.c | 44 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 D | It_posix_pthread_101.c | 64 attr.detachstate = PTHREAD_CREATE_DETACHED; in Testcase()
|
H A D | It_posix_pthread_116.c | 101 attr.detachstate = PTHREAD_CREATE_DETACHED; in Testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
H A D | It_posix_pthread_042.cpp | 48 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 D | It_posix_pthread_011.cpp | 37 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 D | It_posix_pthread_004.c | 37 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 D | It_posix_pthread_003.cpp | 46 int detachstate; in Testcase() local 56 pthread_attr_getdetachstate(&aa, &detachstate); in Testcase()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/ |
H A D | It_posix_pthread_003.c | 53 int detachstate; in Testcase() local 64 pthread_attr_getdetachstate(&aa, &detachstate); in Testcase()
|
/kernel/liteos_a/compat/posix/src/ |
H A D | pthread_attr.c | 42 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 D | pthread.c | 176 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 D | pthread_attr.c | 45 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 D | pthread.c | 165 if (threadAttr->detachstate != PTHREAD_CREATE_DETACHED) { in PthreadCreateAttrInit()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
H A D | _pthreadtypes.h | 68 unsigned int detachstate; member
|
/kernel/liteos_a/net/telnet/src/ |
H A D | telnet_loop.c | 398 threadAttr->detachstate = PTHREAD_CREATE_DETACHED; in TelnetClientTaskAttr()
|