Skip to main content

async_unbind_irq

Function async_unbind_irq 

Source
pub unsafe extern "C" fn async_unbind_irq(
    dispatcher: *mut async_dispatcher_t,
    irq: *mut async_irq_t,
) -> zx_status_t
Expand description

Unbinds the IRQ associated with |irq|.

If successful, the IRQ will be unbound from the async loop and no further handler callbacks will be called.

Returns |ZX_OK| if the IRQ has been successfully unbound. Returns |ZX_ERR_BAD_STATE| if the dispatcher is shutting down. Returns |ZX_ERR_NOT_SUPPORTED| if not supported by the dispatcher.

This operation is thread-safe.