Skip to content

Commit

Permalink
itron: Rename `itron::thread::{available_conccurrency -> available_pa…
Browse files Browse the repository at this point in the history
…rallelism}`

Catching up with commit b4615b5
  • Loading branch information
kawadakk committed Oct 29, 2021
1 parent 0030224 commit 6997d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/itron/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,6 @@ unsafe fn terminate_and_delete_current_task() -> ! {
unsafe { crate::hint::unreachable_unchecked() };
}

pub fn available_concurrency() -> io::Result<crate::num::NonZeroUsize> {
pub fn available_parallelism() -> io::Result<crate::num::NonZeroUsize> {
super::unsupported()
}

0 comments on commit 6997d66

Please sign in to comment.