Home
last modified time | relevance | path

Searched refs:pthread_setcanceltype (Results 1 - 25 of 33) sorted by relevance

12

/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/smoke/
H A DIt_posix_pthread_021.cpp53 // pthread_setcanceltype(int new, int *old): if new > 1U, return EINVAL,else return 0. in Testcase()
54 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/
H A 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/
H A 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()
H A 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()
H A DIt_posix_pthread_240.cpp37 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in pthread_f01()
H A DIt_posix_pthread_144.cpp37 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in pthread_f01()
H A DIt_posix_pthread_233.cpp44 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in pthread_f01()
H A DIt_posix_pthread_238.cpp40 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in pthread_f01()
H A DIt_posix_pthread_066.cpp60 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01()
H A DIt_posix_pthread_095.cpp66 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01()
H A DIt_posix_pthread_094.cpp60 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in pthread_f01()
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_058.c54 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
80 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF02()
H A DIt_posix_pthread_101.c48 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
H A DIt_posix_pthread_240.c44 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
H A DIt_posix_pthread_057.c48 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
H A DIt_posix_pthread_144.c44 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
H A DIt_posix_pthread_233.c51 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
H A DIt_posix_pthread_238.c47 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
H A DIt_posix_pthread_215.c53 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in PthreadF01()
H A DIt_posix_pthread_066.c66 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
H A DIt_posix_pthread_068.c64 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
H A DIt_posix_pthread_095.c71 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
H A DIt_posix_pthread_092.c68 ret = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); in PthreadF01()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
H A Ducna_injection_test.c182 r = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &old); in run_ucna_injection()
184 "pthread_setcanceltype failed with errno=%d", in run_ucna_injection()
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/full/
H A Dpthread_test_001.cpp67 pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL); in ThreadFunc4()

Completed in 7 milliseconds

12