Skip to main content

acquire_dispatch_slot

Function acquire_dispatch_slot 

Source
pub fn acquire_dispatch_slot(
    semaphore: &Arc<Semaphore>,
    priority: Priority,
) -> Option<OwnedSemaphorePermit>
Expand description

A regular slot, or for a high priority task the extra slot when every regular slot is busy