-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sys_poll/enqueue SMP logic on Pico
Fix a bug where sys_poll_events would return immediately if there is nothing to do. Also extend this wait logic on non-SMP builds as we now process interrupts and queued elements should wake up the scheduler. Also fix a concurrency bug with enqueue where a message could not be processed until the scheduler is woken by something else. Signed-off-by: Paul Guyot <pguyot@kallisys.net>
- Loading branch information
Showing
1 changed file
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters