Skip to main content

guard_multiple_with

Function guard_multiple_with 

Source
pub fn guard_multiple_with<'a, const N: usize, Class: LockClass, M: RawLock>(
    locks: [&'a KMutex<Class, M>; N],
    args: <<M as RawLock>::DefaultPolicy as LockPolicy<M>>::AcquireArgs,
) -> impl PinInit<KMutexGuardMultiple<'a, N, Class, M>, Infallible>
Expand description

Acquires multiple KMutex instances of the same class and type in ascending memory address order with arguments, using the default policy.