DOC: sched: document the missing TASK_F_UEVT* flags

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.
This commit is contained in:
Willy Tarreau 2024-11-19 16:26:04 +01:00
parent e5ca72cb6f
commit 8dc68f3c75
1 changed files with 5 additions and 0 deletions

View 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: