/third_party/musl/src/thread/ |
H A D | pthread_cancel.c | 12 if (self->canceldisable == PTHREAD_CANCEL_ENABLE || self->cancelasync) in __cancel() 109 if (t->canceldisable == PTHREAD_CANCEL_ENABLE && t->cancelasync) in pthread_cancel()
|
H A D | pthread_join.c | 23 if (cs == PTHREAD_CANCEL_ENABLE) __pthread_setcancelstate(cs, 0); in __pthread_timedjoin_np()
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
H A D | pthread_cancel.c | 11 if (self->canceldisable == PTHREAD_CANCEL_ENABLE || self->cancelasync) in __cancel() 84 if (t->canceldisable == PTHREAD_CANCEL_ENABLE && t->cancelasync) in pthread_cancel()
|
H A D | pthread_join.c | 17 if (cs == PTHREAD_CANCEL_ENABLE) __pthread_setcancelstate(cs, 0); in __pthread_timedjoin_np()
|
/third_party/musl/porting/linux/user/src/thread/ |
H A D | pthread_cancel.c | 12 if (self->canceldisable == PTHREAD_CANCEL_ENABLE || self->cancelasync) in __cancel() 97 if (t->canceldisable == PTHREAD_CANCEL_ENABLE && t->cancelasync) in pthread_cancel()
|
/third_party/libfuse/include/ |
H A D | fuse_config.h | 45 #define PTHREAD_CANCEL_ENABLE 0 macro
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 1-3.c | 67 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_function()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
H A D | 1-1.c | 13 * Test when a thread is PTHREAD_CANCEL_ENABLE and PTHREAD_CANCEL_ASYNCHRONOUS 18 * PTHREAD_CANCEL_ENABLE and PTHREAD_CANCEL_ASYNCHRONOUS 50 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
|
H A D | 1-3.c | 13 * Test when a thread is PTHREAD_CANCEL_ENABLE and PTHREAD_CANCEL_DEFERRED 19 * PTHREAD_CANCEL_ENABLE. 57 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setcancelstate/ |
H A D | 1-1.c | 11 * 'state' can either be PTHREAD_CANCEL_ENABLE, or PTHREAD_CANCEL_DISABLE. 13 * Test when a thread is PTHREAD_CANCEL_ENABLE 18 * PTHREAD_CANCEL_ENABLE and the cancel_flag to 1. 42 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func() 104 ("Test FAILED: Thread of cancel type PTHREAD_CANCEL_ENABLE did not honor cancel request\n"); in main()
|
/third_party/ltp/testcases/kernel/crypto/ |
H A D | af_alg02.c | 62 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in run()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cleanup_push/ |
H A D | 1-2.c | 53 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setcanceltype/ |
H A D | 1-2.c | 56 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
|
H A D | 1-1.c | 53 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
|
H A D | 2-1.c | 52 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_testcancel/ |
H A D | 1-1.c | 56 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/ |
H A D | 3-1.c | 47 err = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_pthrd_test.cpp | 240 EXPECT_EQ(oldstate, PTHREAD_CANCEL_ENABLE); in HWTEST_F() 242 EXPECT_EQ(0, pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &oldstate)); in HWTEST_F() 246 EXPECT_EQ(oldstate, PTHREAD_CANCEL_ENABLE); in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_atfork.c | 85 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in pthread_atfork_0100()
|
/third_party/ffmpeg/compat/ |
H A D | w32pthreads.h | 66 #define PTHREAD_CANCEL_ENABLE 1 macro
|
/third_party/musl/libc-test/src/regression/ |
H A D | pthread_cancel-sem_wait.c | 21 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, 0); in wait_cancel()
|
/third_party/ltp/testcases/kernel/syscalls/nice/ |
H A D | nice05.c | 54 TEST(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL)); in do_something()
|
/third_party/musl/libc-test/src/functional/ |
H A D | pthread_cancel-points.c | 118 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, 0); in run_execute()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/ |
H A D | 1-2.c | 113 if ((ret = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &tmp))) { in deadlk_issue()
|
H A D | 3-2.c | 119 if ((ret = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &tmp))) { in deadlk_issue()
|