Home
last modified time | relevance | path

Searched refs:PTHREAD_CANCEL_DISABLE (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/posix/headers/src/
Dpthread_h.c31 zassert_not_equal(-1, PTHREAD_CANCEL_DISABLE); in ZTEST()
/Zephyr-latest/tests/posix/common/src/
Dpthread.c211 ret = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); in thread_top_term()
555 zassert_ok(pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL)); in test_pthread_cancel_fn()
/Zephyr-latest/lib/posix/options/
Dpthread.c78 BUILD_ASSERT((PTHREAD_CANCEL_ENABLE == 0 || PTHREAD_CANCEL_DISABLE == 0) &&
79 (PTHREAD_CANCEL_ENABLE == 1 || PTHREAD_CANCEL_DISABLE == 1));
720 if (state != PTHREAD_CANCEL_ENABLE && state != PTHREAD_CANCEL_DISABLE) { in pthread_setcancelstate()
804 t->attr.cancelstate = PTHREAD_CANCEL_DISABLE; in pthread_testcancel()
/Zephyr-latest/include/zephyr/posix/
Dpthread.h38 #define PTHREAD_CANCEL_DISABLE 1 macro