-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Specialize sleep_until implementation #118480
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
Open
dvdsk
wants to merge
19
commits into
rust-lang:master
Choose a base branch
from
dvdsk:sleep_until_os_specific_impl
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
10fb0c7
adds specialized impl of sleep_until for unix and wasi
dvdsk eac212a
adds specialized impl for sleep_until for macos/ios/watchos/tvos
dvdsk 70e0d21
adds specialized impl for sleep_until for windows
dvdsk 947899e
(lib/sleep_until) adds test & update docs & fix mac support
dvdsk 05f1cad
removes the specialization for windows OS
dvdsk f8850e1
add visionos to sleep_until + check mach_wait_until result
dvdsk 1f32d20
fix missing non specialized windows sleep fn
dvdsk d1ae96a
(lib/sleep_until) use target_vendor apple + fix windows removeal + add
dvdsk 5ddda70
(lib/sleep_until) allow unused code for Instant::into_inner
dvdsk e95b653
(lib/sleep_until) fmt + fix tiny rebase mistake
dvdsk 124a1f5
(lib/sleep_until) mac, check for aborted and comment on docs
dvdsk 840188d
(lib/sleep_util) fix missing import
dvdsk 7f65a9d
(lib/sleep_until) add vxworks (os) clock_nanosleep impl
dvdsk a779c23
sleep_until: fixes incorrect assert, improves comments to docs with l…
dvdsk 237923c
fixes test
dvdsk 47361f7
try fix assert_eq
dvdsk 314db2a
fix assert macro
dvdsk 801807e
fix assert macro
dvdsk 0a45de6
remove assert msg
dvdsk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Submodule backtrace
updated
31 files
+169 −167 | .github/workflows/main.yml | |
+31 −94 | Cargo.lock | |
+26 −6 | Cargo.toml | |
+0 −63 | bindings.txt | |
+55 −0 | build.rs | |
+2 −2 | ci/android-ndk.sh | |
+1 −1 | ci/docker/arm-linux-androideabi/Dockerfile | |
+1 −1 | ci/docker/armv7-linux-androideabi/Dockerfile | |
+1 −1 | ci/docker/i686-linux-android/Dockerfile | |
+6 −5 | crates/as-if-std/Cargo.toml | |
+8 −0 | crates/as-if-std/build.rs | |
+0 −1 | crates/cpp_smoke_test/Cargo.toml | |
+8 −8 | src/backtrace/dbghelp32.rs | |
+11 −11 | src/backtrace/dbghelp64.rs | |
+1 −0 | src/backtrace/mod.rs | |
+15 −110 | src/capture.rs | |
+129 −71 | src/dbghelp.rs | |
+1 −2 | src/lib.rs | |
+3 −2 | src/print.rs | |
+10 −10 | src/symbolize/dbghelp.rs | |
+8 −7 | src/symbolize/gimli.rs | |
+17 −36 | src/symbolize/gimli/libs_dl_iterate_phdr.rs | |
+2 −2 | src/symbolize/gimli/libs_windows.rs | |
+5 −7 | src/symbolize/gimli/mmap_windows.rs | |
+2 −2 | src/symbolize/mod.rs | |
+749 −0 | src/windows.rs | |
+0 −664 | src/windows_sys.rs | |
+3 −3 | tests/concurrent-panics.rs | |
+0 −10 | tests/current-exe-mismatch.rs | |
+5 −8 | tests/skip_inner_frames.rs | |
+19 −21 | tests/smoke.rs |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.