Interface RETURN

Preprocessor macro expanding to a command

SpaceUser/kernel
ContextAsync
May blockNo
SPLHigher or equal than SPL of AST or IORQ
Dynamic memoryNo

#include <SPAD/AC.H>

RETURN;

Description

Returns out of function declared with DECL_AST or DECL_IOCALL. After the return, next pending AST with highest SPL is executed or return to synchronous context is made.

Use of this macro outside function bodies declared with DECL_AST or DECL_IOCALL is prohobited.

SPL doesn't have to be lowered before call to RETURN.

See also

DECL_IOCALL, DECL_AST