You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
If the object exists but is not in the correct state to access it, then the OS_ObjectIdConvertToken() will simply loop/retry the operation using OS_TaskDelay(). This is not ideal and likely creates more delay than what is really needed.
Removes the signal mask updates from the POSIX global lock (not needed).
Adds a condition variable to the structure, which can be used to
directly wake up a waiting task rather than requiring that task to poll
the global state.
Removes the signal mask updates from the POSIX global lock (not needed).
Adds a condition variable to the structure, which can be used to
directly wake up a waiting task rather than requiring that task to poll
the global state.
Is your feature request related to a problem? Please describe.
If the object exists but is not in the correct state to access it, then the
OS_ObjectIdConvertToken()
will simply loop/retry the operation usingOS_TaskDelay()
. This is not ideal and likely creates more delay than what is really needed.osal/src/os/shared/src/osapi-idmap.c
Lines 367 to 376 in fa0cffa
Describe the solution you'd like
Should use a proper primitive to wait until the underlying state changes and wake up the task immediately.
Describe alternatives you've considered
Continue using polling w/task delays (still an option for OS types which don't have the proper primitive)
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: