-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add 1:1 Scheduling Mode #595
Comments
I'm planning on reintroducing the domain concept, where our current set of schedulers would be something like a 'generic' domain that just does it's best to schedule across cores. Then we would also have a thread domain, which is just a single-threaded scheduler. Then we could have a 1:1 domain where all tasks get their own thread. Possibly we could have some mechanism to pick the scheduler that main spawns into. |
The task API surfaces this concept now, but it's still not implemented in the runtime. |
@brson, is this still relevant with the upcoming scheduler? |
Done in PR #8221 |
Use NOCANCEL variants for close on Mac The default `close()` on OS X does not provide clear errors, instead the `$NOCANCEL` variants should be used. These are available as of OS X 10.6 onwards. Fixes rust-lang#595.
* Don't free a gurantueed null-pointer * Handle hypot * Remove vec free Co-authored-by: William S. Moses <[email protected]>
Add a way to make each task run in its own thread.
The text was updated successfully, but these errors were encountered: