pub unsafe extern "C" fn aws_condition_variable_wait_pred(
    condition_variable: *mut aws_condition_variable,
    mutex: *mut aws_mutex,
    pred: aws_condition_predicate_fn,
    pred_ctx: *mut c_void
) -> c_int
Expand description

Waits the calling thread on a notification from another thread. If predicate returns false, the wait is reentered, otherwise control returns to the caller.