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.
Only the "shared" layer invokes these impl (low level) APIs - they are not invoked directly by applications, and the shared layer has already done its error checking. Therefore they should never be invoked with a bad object type, and there is no recourse if the implementation fails.
Describe the solution you'd like
Make sure "shared" layer is doing the appropriate scrubbing of object type before calling "impl" layer.
Remove duplicate/unnecessary error checking in "impl" layer that was already performed at "shared" layer.
Make "impl" functions return void - these should never fail, and there is no feasible recovery if they do. The only way they can fail is if they weren't initialized properly. The OS_DEBUG message that is printed is the only recourse.
Additional context
Error checking should be consolidated at "shared" layer, layer whenever possible, as this keeps "impl" layer simpler, and also ensures that the same error checking is done on all platforms - so all platforms work the same. Right now the error checking in these functions is not quite the same between POSIX/VxWorks/RTEMS.
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.
Only the "shared" layer invokes these impl (low level) APIs - they are not invoked directly by applications, and the shared layer has already done its error checking. Therefore they should never be invoked with a bad object type, and there is no recourse if the implementation fails.
Describe the solution you'd like
void
- these should never fail, and there is no feasible recovery if they do. The only way they can fail is if they weren't initialized properly. The OS_DEBUG message that is printed is the only recourse.Additional context
Error checking should be consolidated at "shared" layer, layer whenever possible, as this keeps "impl" layer simpler, and also ensures that the same error checking is done on all platforms - so all platforms work the same. Right now the error checking in these functions is not quite the same between POSIX/VxWorks/RTEMS.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: