Home
last modified time | relevance | path

Searched refs:pthread_setcanceltype (Results 1 – 25 of 30) sorted by relevance

12

/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/smoke/
DIt_posix_pthread_021.cpp54 ret = pthread_setcanceltype(0, &oldstype); in Testcase()
57 ret = pthread_setcanceltype(3, &oldstype); in Testcase()
60 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in Testcase()
63 ret = pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldstate); in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/smoke/
DIt_posix_pthread_021.c59 ret = pthread_setcanceltype(2, &oldstype); // 2, test for invalid param. in Testcase()
62 ret = pthread_setcanceltype(3, &oldstype); // 3, test for invalid param. in Testcase()
65 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in Testcase()
68 ret = pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldstate); in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
DIt_posix_pthread_091.cpp42 ret = pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldstate); in pthread_f01()
64 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f02()
DIt_posix_pthread_057.cpp43 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01()
60 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f02()
DIt_posix_pthread_240.cpp37 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in pthread_f01()
DIt_posix_pthread_238.cpp40 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in pthread_f01()
DIt_posix_pthread_144.cpp37 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in pthread_f01()
DIt_posix_pthread_233.cpp44 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in pthread_f01()
DIt_posix_pthread_095.cpp66 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01()
DIt_posix_pthread_066.cpp60 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01()
DIt_posix_pthread_094.cpp60 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
DIt_posix_pthread_058.c54 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
80 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF02()
DIt_posix_pthread_101.c48 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
DIt_posix_pthread_240.c44 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
DIt_posix_pthread_057.c48 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
DIt_posix_pthread_233.c51 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
DIt_posix_pthread_238.c47 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
DIt_posix_pthread_215.c53 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
DIt_posix_pthread_144.c44 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
DIt_posix_pthread_068.c64 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
DIt_posix_pthread_092.c68 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
DIt_posix_pthread_095.c71 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
DIt_posix_pthread_066.c66 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
Dpthread_test_001.cpp67 pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in ThreadFunc4()
Dpthread_test_004.cpp159 pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in ThreadFunc4()

12