diff --git a/include/haproxy/applet.h b/include/haproxy/applet.h index 700a66795..dbf0b15a0 100644 --- a/include/haproxy/applet.h +++ b/include/haproxy/applet.h @@ -146,6 +146,9 @@ static inline void __appctx_free(struct appctx *appctx) #define appctx_wakeup(ctx) \ _task_wakeup((ctx)->t, TASK_WOKEN_OTHER, MK_CALLER(WAKEUP_TYPE_APPCTX_WAKEUP, 0, 0)) +#define appctx_schedule(ctx, w) \ + _task_schedule((ctx)->t, w, MK_CALLER(WAKEUP_TYPE_TASK_SCHEDULE, 0, 0)) + /* returns the stream connector the appctx is attached to, via the sedesc */ static inline struct stconn *appctx_sc(const struct appctx *appctx) {