-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
num_cpus::get()=0 on mipsel-unknown-linux-gnu #69
Comments
ping |
I know nothing about mipsel. PRs welcome. |
The seems to be missing a failsafe check for Linux in order not to return less than 1. |
Looks like there is a check, but not in the sched affinity branch. |
See #68. |
I think there's still a behavior question that needs answering for #68: should it fallback to just the count? Or should an affinity count of 0 mean "you aren't assigned any CPUs, so here, have just 1"? |
Does an affinity mask of 0 mean that the process is not running? |
On my system, I don't think returning 1 in this case is useful. We should fall back to Hmm, I actually have a |
If that's the C I don't really expect a lot of software to handle this case. Maybe the issue is a different one? Also, this sounds fun:
|
See tokio-rs/tokio#400
The text was updated successfully, but these errors were encountered: