Skip to content
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

Use mutex in locodeck.c #496

Closed
krichardsson opened this issue Oct 31, 2019 · 0 comments
Closed

Use mutex in locodeck.c #496

krichardsson opened this issue Oct 31, 2019 · 0 comments
Milestone

Comments

@krichardsson
Copy link
Contributor

In locodeck.c, the algoSemaphore is created as a binary semaphore, but is should probably be changed to a mutex instead. Mutexes provide task priority elevation (as opposed to binary semaphores) that we want in this case since the algoSemaphore is protecting data from concurrent access.

@krichardsson krichardsson added this to the next-release milestone Nov 1, 2019
cafeciaojoe pushed a commit to cafeciaojoe/crazyflie-firmware that referenced this issue Sep 27, 2024
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

No branches or pull requests

1 participant