next up previous contents index
Next: 8.15.5 osenv_irq_alloc: allocate an Up: 8.15 Hardware Interrupts Previous: 8.15.3 osenv_intr_enabled: determine the

8.15.4 osenv_intr_save_disable: disable interrupts and return the former state

 

SYNOPSIS

int osenv_intr_save_disable(void);

DIRECTION

Component tex2html_wrap_inline37485 OS, Nonblocking

DESCRIPTION

Set the interrupt status to disabled and return the previous status.

This call is equivalent to calling osenv_intr_enabled and then calling osenv_intr_disable if the result was non-zero and is intended to optimize that common case.

RETURNS

Returns non-zero if interrupts are currently enabled, zero otherwise.



Utah Flux Research Group