nasa / osal

The Core Flight System (cFS) Operating System Abstraction Layer (OSAL)
Apache License 2.0
557 stars 218 forks source link

Fix #1455, High-res timed stream ops #1456

Closed jphickey closed 4 months ago

jphickey commented 8 months ago

Checklist (Please check before submitting)

Describe the contribution Implement high-res timed operations for streams. This uses an absolute time via the OS_time_t value, which has a default resolution of 0.1usec but is configurable.

Fixes #1455

Testing performed Full suite of coverage and functional tests

Expected behavior changes New APIs added, does not change existing APIs

System(s) tested on Debian

Additional context N/A

Contributor Info - All information REQUIRED for consideration of pull request Joseph Hickey, Vantage Systems, Inc.

jphickey commented 6 months ago

Updated to expose the high-res API ("Abs" timeout variant) on the following additional OSAL calls:

The existing (relative timeout) variant becomes a wrapper around the Abs timeout version above.