Interface SPL_BUSY

Preprocessor macro expanding to an expression

SpaceUser/kernel
ContextSync/async
May blockNo
SPLAny
Dynamic memoryNo

#include <SPAD/AC.H>

if (SPL_BUSY(spl)) ...

Description

This is the equivalent of SPLX_BUSY(SPL_X(spl)). See definition of these macros.

Arguments

Returns

Returns non-zero if there is an AST or IORQ pending on or above spl.

Implementation note

The macro performs a compile-time check for correct argument.

See also

SPL_X, SPLX_BUSY