rad_assert(request->backlog == NULL);
rad_assert(request->runnable_id < 0);
+#ifndef NDEBUG
/*
* Look at the current stack.
*/
* order for someone to mark it resumable.
*/
rad_assert(frame->instruction->type == UNLANG_TYPE_RESUME);
+#endif
/*
* Now look at the parents stack. It also must
parent = parent->parent;
}
+
+#ifndef NDEBUG
/*
* The current request MUST have been yielded in
* order for someone to mark it resumable.
stack = request->stack;
frame = &stack->frame[stack->depth];
rad_assert(frame->instruction->type == UNLANG_TYPE_RESUME);
+#endif
rad_assert(request->backlog != NULL);
fr_heap_insert(request->backlog, request);