Home
last modified time | relevance | path

Searched refs:PTHREAD_CANCEL_ENABLE (Results 1 - 25 of 41) sorted by relevance

12

/third_party/musl/src/thread/
H A Dpthread_cancel.c12 if (self->canceldisable == PTHREAD_CANCEL_ENABLE || self->cancelasync) in __cancel()
109 if (t->canceldisable == PTHREAD_CANCEL_ENABLE && t->cancelasync) in pthread_cancel()
H A Dpthread_join.c23 if (cs == PTHREAD_CANCEL_ENABLE) __pthread_setcancelstate(cs, 0); in __pthread_timedjoin_np()
/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_cancel.c11 if (self->canceldisable == PTHREAD_CANCEL_ENABLE || self->cancelasync) in __cancel()
84 if (t->canceldisable == PTHREAD_CANCEL_ENABLE && t->cancelasync) in pthread_cancel()
H A Dpthread_join.c17 if (cs == PTHREAD_CANCEL_ENABLE) __pthread_setcancelstate(cs, 0); in __pthread_timedjoin_np()
/third_party/musl/porting/linux/user/src/thread/
H A Dpthread_cancel.c12 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 Dfuse_config.h45 #define PTHREAD_CANCEL_ENABLE 0 macro
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
H A D1-3.c67 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_function()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
H A D1-1.c13 * 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 D1-3.c13 * 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 D1-1.c11 * '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 Daf_alg02.c62 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cleanup_push/
H A D1-2.c53 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setcanceltype/
H A D1-2.c56 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
H A D1-1.c53 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
H A D2-1.c52 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_testcancel/
H A D1-1.c56 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
H A D3-1.c47 err = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in a_thread_func()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
H A Dthread_pthrd_test.cpp240 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 Dpthread_atfork.c85 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); in pthread_atfork_0100()
/third_party/ffmpeg/compat/
H A Dw32pthreads.h66 #define PTHREAD_CANCEL_ENABLE 1 macro
/third_party/musl/libc-test/src/regression/
H A Dpthread_cancel-sem_wait.c21 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, 0); in wait_cancel()
/third_party/ltp/testcases/kernel/syscalls/nice/
H A Dnice05.c54 TEST(pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL)); in do_something()
/third_party/musl/libc-test/src/functional/
H A Dpthread_cancel-points.c118 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, 0); in run_execute()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
H A D1-2.c113 if ((ret = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &tmp))) { in deadlk_issue()
H A D3-2.c119 if ((ret = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &tmp))) { in deadlk_issue()

Completed in 8 milliseconds

12