-
Notifications
You must be signed in to change notification settings - Fork 3
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
Migrate to our own Signal type #365
Closed
Commits on May 13, 2024
-
This is part of #353. This commit prepares for the transition to our own Signal type by defining the type and implementing some basic operations.
Configuration menu - View commit details
-
Copy full SHA for 6592a69 - Browse repository at this point
Copy the full SHA 6592a69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86adcc8 - Browse repository at this point
Copy the full SHA 86adcc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21699a3 - Browse repository at this point
Copy the full SHA 21699a3View commit details
Commits on May 14, 2024
-
This commit adds a new variant Signal::Number(c_int) to allow specifying any signal by its raw signal number. This will make the parser for the trap built-in condition operand much simpler.
Configuration menu - View commit details
-
Copy full SHA for 366d798 - Browse repository at this point
Copy the full SHA 366d798View commit details
Commits on May 17, 2024
-
Replace SigSet with Signal array in System
This commit replaces the SigSet type with an array of Signal in the System trait. This change is necessary because the SigSet type is specific to the nix crate, and the System trait should not depend on specific types from external crates. This commit also updates the implementations of the System trait to reflect this change. SelectSystem::wait_mask is now an optional Vec of Signal, and virtual Process now uses a BTreeSet of Signal instead of SigSet.
Configuration menu - View commit details
-
Copy full SHA for fd68772 - Browse repository at this point
Copy the full SHA fd68772View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b8b25 - Browse repository at this point
Copy the full SHA 45b8b25View commit details -
rt_range returns empty range when real-time signals are not supported
This change makes `rt_range` return an empty range when the real system does not support real-time signals. This simplifies the code that uses `rt_range` because the caller does not need to handle the `None` case.
Configuration menu - View commit details
-
Copy full SHA for 6758997 - Browse repository at this point
Copy the full SHA 6758997View commit details
Commits on May 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8cd8f61 - Browse repository at this point
Copy the full SHA 8cd8f61View commit details -
Configuration menu - View commit details
-
Copy full SHA for da46611 - Browse repository at this point
Copy the full SHA da46611View commit details
Commits on May 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0e93fbc - Browse repository at this point
Copy the full SHA 0e93fbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dcbabb - Browse repository at this point
Copy the full SHA 7dcbabbView commit details -
Remove impl TryFrom<ProcessState> for ExitStatus
The conversion from ProcessState to ExitStatus is now done by the System trait as it depends on the system implementation. This commit removes the TryFrom implementation and replaces it with a call to System::exit_status_for_process_state.
Configuration menu - View commit details
-
Copy full SHA for bbd4a46 - Browse repository at this point
Copy the full SHA bbd4a46View commit details
Commits on May 20, 2024
-
Remove impl From<Signal> for ExitStatus
The conversion should be done by `SystemEx::exit_status_for_signal`.
Configuration menu - View commit details
-
Copy full SHA for b10e1a4 - Browse repository at this point
Copy the full SHA b10e1a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62c9cc0 - Browse repository at this point
Copy the full SHA 62c9cc0View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.