-
-
Notifications
You must be signed in to change notification settings - Fork 4k
[Merged by Bors] - Nested spawns on scope #4466
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
Closed
Closed
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
31f8e41
convert scope.spawn_local to scoped executor
hymm f02b982
copy test from #4343
c69dc7c
convert to using a concurrent queue for interior mutability
a08dc5b
remove optimization
4f46d10
remove if statement
b93d70e
check locality of scope_on_scope for nested spawns
eeb6aeb
update some comments
666f2d2
transmute scope ref to &'scope to get rid of Arc
27187d9
clarify safety comment
69fa59b
add a test for UB
069750f
copy lifetimes from std scope
ffc9688
add compile fail test
79c4b4e
clean up comments
ea2fcef
change single threaded task pool type signatures to match changes
b523732
fix doc comment
575ae94
change Arc to immutable reference
2aae929
add another compile fail test
hymm aa051ec
match lifetime of return value to lifetimes of futures
hymm 97da059
rework executor code for performance
hymm 624e282
add invariance of lifetimes to single threaded executor
hymm b2b6756
add some docs about the lifetimes
hymm 4f38e53
fix doc link
hymm f60d41d
fix some issues from rebase
hymm 0279dd1
run cargo fmt
hymm b48b056
fix new clippy error
hymm 57bf8ca
revert change to executor
hymm 2e6e438
fix rebase formatting issues
hymm 243ae2f
change lifetimes to match std
hymm e4ad01d
fix rebase error
hymm a73f6e9
Merge remote-tracking branch 'origin/main' into pr/hymm/4466
cart 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
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.
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.