From looking at the code, there is the possibility that certain conditions would keep read_sync() from ever returning.
Need to implement a method to detect failure loop, and exit.
Perhaps a non-fatal failure return status whenever a reset occurs, this would signal read_sync() to exit with error and would allow read_async() direct use with more visibility to failure mode.
From looking at the code, there is the possibility that certain conditions would keep read_sync() from ever returning. Need to implement a method to detect failure loop, and exit.
Perhaps a non-fatal failure return status whenever a reset occurs, this would signal read_sync() to exit with error and would allow read_async() direct use with more visibility to failure mode.