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

Wrong function name or function implementation (env_create_mutex behave as semaphore) #15

Open
Hadatko opened this issue Apr 12, 2021 · 1 comment

Comments

@Hadatko
Copy link
Contributor

Hadatko commented Apr 12, 2021

env_create_mutex for freertos has semaphore implementation: https://www.geeksforgeeks.org/mutex-vs-semaphore/
This can consufe users during new ports or debugging.

@MichalPrincNXP
Copy link
Contributor

@Hadatko , you are right, it would be better to use the xSemaphoreCreateMutex API to be accurate. I guess the xSemaphoreCreateCounting usage has been chosen because of the smaller footprint at the time this project has been created.

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

2 participants