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
It seems like the implementations on Linux have different behaviors regarding a partial read.
The read implementation will implicitly retry when interrupted until the desired length is reached.
The sysread implementations on the other hand will not retry, so if it would be interrupted while only partially having filled it will throw an error, even though the situation is entirely recoverable by issuing a new read.
AFAICT the XS implementation can exhibit either behavior depending on which backend is selected.
The text was updated successfully, but these errors were encountered:
It seems like the implementations on Linux have different behaviors regarding a partial read.
The
read
implementation will implicitly retry when interrupted until the desired length is reached.The
sysread
implementations on the other hand will not retry, so if it would be interrupted while only partially having filled it will throw an error, even though the situation is entirely recoverable by issuing a new read.AFAICT the XS implementation can exhibit either behavior depending on which backend is selected.
The text was updated successfully, but these errors were encountered: