pub enum Threading {
Single,
Funneled,
Serialized,
Multiple,
}Expand description
The level of thread support, matching the four MPI constants
(MPI_THREAD_SINGLE, …, MPI_THREAD_MULTIPLE).
This implementation is thread-safe throughout and always provides
Threading::Multiple; the requested level is recorded for compatibility.
Variants§
Single
Only one thread will execute (MPI_THREAD_SINGLE).
Funneled
The process may be multithreaded, but only the main thread makes MPI
calls (MPI_THREAD_FUNNELED).
Serialized
Multiple threads may make MPI calls, but not concurrently
(MPI_THREAD_SERIALIZED).
Multiple
Multiple threads may call MPI concurrently (MPI_THREAD_MULTIPLE).
Implementations§
Trait Implementations§
impl Copy for Threading
impl Eq for Threading
Source§impl Ord for Threading
impl Ord for Threading
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Threading
impl PartialOrd for Threading
impl StructuralPartialEq for Threading
Auto Trait Implementations§
impl Freeze for Threading
impl RefUnwindSafe for Threading
impl Send for Threading
impl Sync for Threading
impl Unpin for Threading
impl UnsafeUnpin for Threading
impl UnwindSafe for Threading
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more