Home | History | Annotate | Download | only in libpthread

Lines Matching defs:cancelpoint

1 /*	$NetBSD: cancelpoint.h,v 1.1 2025/04/05 11:22:32 riastradh Exp $	*/
67 void (*cancelpoint)(void) = cookie;
73 (*cancelpoint)();
80 test_cancelpoint_before(void (*cancelpoint)(void))
86 RZ(pthread_create(&t, NULL, &thread_cancelpoint, cancelpoint));
102 test_cancelpoint_wakeup(void (*cancelpoint)(void))
107 RZ(pthread_create(&t, NULL, &cancelpoint_thread, cancelpoint));
118 #define TEST_CANCELPOINT(CANCELPOINT, XFAIL) \
119 ATF_TC(CANCELPOINT); \
120 ATF_TC_HEAD(CANCELPOINT, tc) \
123 #CANCELPOINT); \
125 ATF_TC_BODY(CANCELPOINT, tc) \
128 test_cancelpoint_before(&CANCELPOINT); \
130 #define ADD_TEST_CANCELPOINT(CANCELPOINT) \
131 ATF_TP_ADD_TC(tp, CANCELPOINT)