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.
OSAL semaphores should implement priority-based wakeup, as opposed to FIFO. This currently is not validated by any test.
Describe the solution you'd like
Should implement a new unit test to confirm that priority-based semaphores are working as expected. Basic procedure should be something like:
Create a semaphore with value 0
Create a low priority task which blocks on the semaphore
Create a high priority task which also blocks on the semaphore
Give the semaphore
Confirm only high priority task woke up, low priority still blocked
Give the semaphore again
Confirm low priority task woke up
Additional context
This test depends on actual task priorities being set in the OS scheduler, which may not happen when running as a normal user and using OS_CONFIG_PERMISSIVE_MODE option. This test would have to be bypassed in that case.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
OSAL semaphores should implement priority-based wakeup, as opposed to FIFO. This currently is not validated by any test.
Describe the solution you'd like
Should implement a new unit test to confirm that priority-based semaphores are working as expected. Basic procedure should be something like:
Additional context
This test depends on actual task priorities being set in the OS scheduler, which may not happen when running as a normal user and using OS_CONFIG_PERMISSIVE_MODE option. This test would have to be bypassed in that case.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: