FreeRTOS-Kernel/include
schilkp 8c87469263 Split traceTASK_NOTIFY_WAIT into _EXT and _FAILED hooks.
The old traceTASK_NOTIFY_WAIT hook was always called (no matter the
success or failure of the action) and did not hygienically expose
enough information for the tracer to determine the state of the task
notification after it has been taken.

The new traceTASK_NOTIFY_WAIT_EXT hook is called only if
the notification was taken successfully and hygienically expose
ulBitsToClearOnExit.

The new traceTASK_NOTIFY_WAIT_FAILED hook is called if the notification
could not be taken.

This matches how the tracing hooks for all other APIs that attempt to
receive/take a resource and my block function: First, if the task blocks,
a BLOCK or BLOCKING trace hook is called. Then, either a normal or
FAILED trace hook is called, indicating if the operation timed out or
succeeded.

Both hooks fall back on the old traceTASK_NOTIFY_WAIT, preserving its
functionality for backwards compatibility.

Not that there is a very slight breaking change in this commit:
traceTASK_NOTIFY_WAIT is now called after the out-var pulNotificationValue
is set. Because this pointer was in an unknown/user-set state when the
tracing hook was previously called, it is highly unlikely that there are
any tracers that rely on this.
2024-06-07 10:19:30 +02:00
..
atomic.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
CMakeLists.txt Fix circular dependency in CMake project (#700) 2023-07-10 15:08:59 -07:00
croutine.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
deprecated_definitions.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
event_groups.h Use suffix "U" for unsigned constant (#1041) 2024-04-19 14:41:16 +05:30
FreeRTOS.h Split traceTASK_NOTIFY_WAIT into _EXT and _FAILED hooks. 2024-06-07 10:19:30 +02:00
list.h Fix cmake example errors (#1037) 2024-04-18 19:08:51 +05:30
message_buffer.h Add Stream Batching Buffer (#916) 2024-04-17 20:24:00 +05:30
mpu_prototypes.h Add Stream Batching Buffer (#916) 2024-04-17 20:24:00 +05:30
mpu_syscall_numbers.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
mpu_wrappers.h Add MPU wrapper from xStreamBufferResetFromISR (#1034) 2024-04-17 16:57:58 +08:00
newlib-freertos.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
picolibc-freertos.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
portable.h Move header includes before extern c (#1047) 2024-05-06 17:24:05 -07:00
projdefs.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
queue.h Give queue set queues a unique type number. (#1083) 2024-06-06 21:06:09 +05:30
semphr.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
stack_macros.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
StackMacros.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
stdint.readme Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00
stream_buffer.h Add Stream Batching Buffer (#916) 2024-04-17 20:24:00 +05:30
task.h Clarify documentation of xTaskNumber in TaskStatus_t. (#1081) 2024-06-06 10:23:34 +05:30
timers.h Use Regex for Copyright Year in Header Check (#1002) 2024-02-26 09:26:42 -08:00