Lines Matching refs:cp
38 isc_result_t isc__nothread_wait_hack(isc_condition_t *cp, isc_mutex_t *mp);
39 isc_result_t isc__nothread_signal_hack(isc_condition_t *cp);
41 #define isc_condition_init(cp) \
42 (*(cp) = 0, ISC_R_SUCCESS)
44 #define isc_condition_wait(cp, mp) \
45 isc__nothread_wait_hack(cp, mp)
47 #define isc_condition_waituntil(cp, mp, tp) \
48 ((void)(cp), (void)(mp), (void)(tp), ISC_R_NOTIMPLEMENTED)
50 #define isc_condition_signal(cp) \
51 isc__nothread_signal_hack(cp)
53 #define isc_condition_broadcast(cp) \
54 ((void)(cp), ISC_R_NOTIMPLEMENTED)
56 #define isc_condition_destroy(cp) \
57 (*(cp) == 0 ? (*(cp) = -1, ISC_R_SUCCESS) : ISC_R_UNEXPECTED)