Skip to content

Conversation

@bjarki-andreasen
Copy link
Contributor

The main thread, if configured with coop priority (don't do that :D) breaks gpd since it has a non yielding while loop (also don't do that)

Add an explicit yield() to allow other threads to run if main or other threads use gpd with coop prio.

Upstream PR #: 84598

@bjarki-andreasen bjarki-andreasen changed the title [nrf fromlist] soc: nordic: nrf54h: gpd: yield() to not block if main is coop Cherry pick GPD yield() to not block if thread is coop Feb 24, 2025
… is coop

The main thread, if configured with coop priority (don't do that :D)
breaks gpd since it has a non yielding while loop (also don't do that)

Add an explicit yield() to allow other threads to run if main or other
threads use gpd with coop prio.

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
(cherry picked from commit 7e0e583)
@bjarki-andreasen bjarki-andreasen merged commit 4545832 into nrfconnect:main Feb 26, 2025
16 checks passed
@bjarki-andreasen bjarki-andreasen deleted the nrf-gpd-coop-fix branch February 26, 2025 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants