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

hw: simplify translation of user to kernel signalling API #5194

Open
skalk opened this issue Apr 24, 2024 · 0 comments
Open

hw: simplify translation of user to kernel signalling API #5194

skalk opened this issue Apr 24, 2024 · 0 comments
Labels

Comments

@skalk
Copy link
Member

skalk commented Apr 24, 2024

Currently, the implementation of Kernel::awaits_signal() and Kernel::pending_signal() share a lot of code, and the implementation in userland of Signal_receiver::block_for_signal() and Signal_receiver::pending_signal() are hard to follow. If Kernel::awaits_signal() would block only, while Kernel::pending_signal() would return a context with its number of signals, both APIs would match much better.

@skalk skalk added the cleanup label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant