-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Use $NOCANCEL
variants of APIs on apple platforms
#117330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Note: there's one place where we're not currently treating
And we could also optionally mark Please lmk what I should do with these. |
I think so.
Is there any place where it makes a difference? We seem to be ignoring EINTR returned by I have noticed that |
Btw, there's 2 places where we're already doing what I'm proposing, and treating
There's a handful of places where we're treating it as a failure, but I'm not sure if they actually matter as I'm not familiar with how the return value is used:
Imo, we should adjust one set of the above to be the same as the other - whichever one is preferred - ignoring And here's actually another spot where we're retrying that I'll fix up along with the
|
- 2 cases still had retry on `EINTR` logic for `close`
As far as I can tell, the return value always ends up being ignored for the managed ones in your list. I guess we can ignore EINTR in runtime/src/coreclr/pal/src/misc/perfjitdump.cpp should be fixed to ignore the return value from close.
I believe HP-UX is the only platform where it is correct to retry when close return EINTR. We do not support HP-UX. So it can be ignored unconditionally. |
Fixes #117299.
Affects the following APIs: #117299 (comment).