Skip to content

Add synchronization type for protecting data by suspending the scheduler #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025

Conversation

michael-p
Copy link
Contributor

This PR adds a type SuspendScheduler that can be used like a Mutex or ExclusiveData, but protects against concurrent access to its data by suspending the FreeRTOS scheduler.

@michael-p
Copy link
Contributor Author

I'm open to suggestions for better name for SuspendScheduler :)

@schteve
Copy link
Collaborator

schteve commented May 8, 2025

The name seems just fine to me, thanks!

@schteve schteve merged commit cac7ac0 into lobaro:master May 8, 2025
3 checks passed
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.

2 participants