]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: sched: document the missing TASK_F_UEVT* flags
authorWilly Tarreau <w@1wt.eu>
Tue, 19 Nov 2024 15:26:04 +0000 (16:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 19 Nov 2024 19:13:41 +0000 (20:13 +0100)
These are user-defined one-shot events that are application-specific
and reset upon wakeup and were not documented. No backport is needed
since these were added to 3.1.

doc/internals/api/scheduler.txt

index 70230d16304c16f3d53d5560adf444c980f93b5d..0b4459817d6408e7b0d2ffea9314b2b230281878 100644 (file)
@@ -208,6 +208,11 @@ state field before the call to ->process()
 
   - TASK_WOKEN_OTHER   any other application-defined wake-up reason.
 
+  - TASK_F_UEVT1       one-shot user-defined event type 1. This is application
+                       specific, and reset to 0 when the handler is called.
+
+  - TASK_F_UEVT2       one-shot user-defined event type 2. This is application
+                       specific, and reset to 0 when the handler is called.
 
 In addition, a few persistent flags may be observed or manipulated by the
 application, both for tasks and tasklets: