commit | fd500168f14c8ae3c8d8bfa01149d2c1ba227810 | [log] [tgz] |
---|---|---|
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | Tue Oct 07 16:12:48 2025 +0200 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Tue Oct 14 17:39:51 2025 -0400 |
tree | adea4dc2bd40facf935330f52d668bf72a185d4f | |
parent | 720897d993786eab9270220544bdc39961d5b143 [diff] |
portability: cmsis: Fix possible race in osEventFlagsWait() In osEventFlagsWait(), if an event raises after the call to k_event_wait() and before the call to k_event_clear(), we may clear it while it is not going to be report to the caller. Reported-by: Rahul Gurram <rahul.gurram@silabs.com> Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>