Lines Matching refs:cp
40 isc_result_t isc__nothread_wait_hack(isc_condition_t *cp, isc_mutex_t *mp);
41 isc_result_t isc__nothread_signal_hack(isc_condition_t *cp);
43 #define isc_condition_init(cp) \
44 (*(cp) = 0, ISC_R_SUCCESS)
46 #define isc_condition_wait(cp, mp) \
47 isc__nothread_wait_hack(cp, mp)
49 #define isc_condition_waituntil(cp, mp, tp) \
50 ((void)(cp), (void)(mp), (void)(tp), ISC_R_NOTIMPLEMENTED)
52 #define isc_condition_signal(cp) \
53 isc__nothread_signal_hack(cp)
55 #define isc_condition_broadcast(cp) \
56 ((void)(cp), ISC_R_NOTIMPLEMENTED)
58 #define isc_condition_destroy(cp) \
59 (*(cp) == 0 ? (*(cp) = -1, ISC_R_SUCCESS) : ISC_R_UNEXPECTED)