-
Notifications
You must be signed in to change notification settings - Fork 213
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
Global lock for "timecb" objects missing #474
Comments
Noticed this while investigating #473. |
jphickey
added a commit
to jphickey/osal
that referenced
this issue
May 19, 2020
The mutex to protect the timer callback (timecb) resource table was missing.
This was referenced May 19, 2020
jphickey
pushed a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
CMake: minor changes to improve the CLion IDE CMake experience
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The internal table mutex for the timer callback (timecb) object type is missing/not implemented. This leave a potential race condition as timer callbacks are registered.
To Reproduce
Not observed in real execution at this time - but theoretically possible if two timers are registered by two tasks at the exact same time.
Expected behavior
Should be protected.
System observed on:
Ubuntu 20.04
Additional context
The global lock table is simply missing an entry for this object type.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: