Skip to content
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

Mask signals during Ergonomic door call #24

Open
robertdfrench opened this issue Apr 19, 2023 · 0 comments
Open

Mask signals during Ergonomic door call #24

robertdfrench opened this issue Apr 19, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@robertdfrench
Copy link
Owner

In DOOR_CALL(3C) it says (emphasis mine):

The door_call() function is not a restartable system call. It returns EINTR if a signal was caught and handled by this thread. If the door invocation is not idempotent the caller should mask any signals that may be generated during a door_call() operation.

Or maybe the default door_call should say in the docs that it expects the server procedure to be idempotent, and we could have a separate door_call_nonidempotent call that masks signals to make sure that signals received by the client do not cause the server to be interrupted.

@robertdfrench robertdfrench added this to the Ergonomic API milestone Apr 19, 2023
@robertdfrench robertdfrench added the enhancement New feature or request label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant