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

core: registry: Factor out "wait till out of work" part of the main loop. #1087

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Sep 4, 2023

This was originally done for #1063, in order to reuse this to allow cleaning up the TLS data allocated by use_current_thread.

We ended up not using that, but this refactoring seems useful on its own, perhaps.

@emilio
Copy link
Contributor Author

emilio commented Sep 4, 2023

The check failure looks spurious.

rayon-core/src/registry.rs Outdated Show resolved Hide resolved
…oop.

This was originally done for rayon-rs#1063, in order to reuse this to allow
cleaning up the TLS data allocated by use_current_thread.

We ended up not using that, but this refactoring seems useful on its
own.
@cuviper
Copy link
Member

cuviper commented Sep 20, 2023

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 20, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 082f215 into rayon-rs:master Sep 20, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants