Skip to content
Commit aa825d77 authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

doc: Clarify k_poll() behavior with respect to signal synchronization



Bug #40189 tripped over an interesting synchronization scenario that
wasn't called out in the docs.  Poll signals are level triggered, and
if you're adjusting the level from a racing context (e.g. resetting it
before the next "event" from an ISR or another thread) the polling
thread might wake up but then miss the event.  Mention this case
explicitly in documentation.

Fixes #40189

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 18165b1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment