Interface TEST_SPL

Preprocessor macro expanding to a command

SpaceUser/kernel
ContextSync/async
May blockNo
SPLAny
Dynamic memoryNo

#include <SPAD/AC.H>

TEST_SPL(spllow, splhigh)

Description

splhigh must be equivalent to current SPL. This is the equivalent of TEST_SPLX(SPL_X(spllow), SPL_X(splhigh)). See definition of TEST_SPLX.

Arguments

Implementation note

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

When __DEBUG is >= 2, the macro performs a check if current SPL is higher or equal than new SPL.

See also

SPL_X, TEST_SPLX