forked from nix-rust/nix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add sigsuspend * add cfg for sigsuspend * add fuchsia to target_os * Ok is unreachable > Since sigsuspend() suspends thread execution indefinitely, there is no > successful completion return value. If a return occurs, -1 shall be > returned and errno set to indicate the error. https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigsuspend.html * add test_sigsuspend * clippy * fix bug of test * add changelog * update doc * remove unnnessesary sleep * Revert "remove unnnessesary sleep" This reverts commit c174bd2. * move to SigSet::suspend * reorder doc * update test * update test * change memory order * Revert "change memory order" This reverts commit f63e656. * rename added.md * add unreachable reason * use alias * remove nto * Update libc I updated libc to use below commit which add sigsuspend to more targets. rust-lang/libc@11f7c7b * Add target bsd, solarish and haiku to sigsuspend
- Loading branch information
Showing
4 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added a new API sigsuspend. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters