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

Missing semaphore functions #59

Open
schteve opened this issue Mar 22, 2023 · 0 comments
Open

Missing semaphore functions #59

schteve opened this issue Mar 22, 2023 · 0 comments

Comments

@schteve
Copy link
Collaborator

schteve commented Mar 22, 2023

It looks like these two functions are missing from the shim layer. We might want to add them someday. There are also FromISR variants for them.

  • xSemaphoreGetMutexHolder()
  • uxSemaphoreGetCount()

It's not much help just having the functions in the shim layer - we'd also want to add Rust code to make use of it. Both are probably straightforward as we already have Mutex types. Semaphore doesn't have a Counting-specific type (should it?), but GetCount is defined on both counting and binary semaphores anyway.

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