sns_dpn

Outline

Reference dispatch pending state.

C format

 BOOL    sns_dpn ( void );


Assembly format

 CALL    !!_sns_dpn


Parameter(s)

None.

Explanation

This service call acquires the system status type when this service call is issued (whether in dispatch pending state or not).

When this service call is terminated normally, the acquired system state type (TRUE: dispatch pending state, FALSE: dispatch not-pending state) is returned.

Note The dispatch pending state designates the state in which explicit execution of dispatch processing (task scheduling processing) is prohibited by issuing either the dis_dsp, loc_cpu, or iloc_cpu service call, as well as the state during which processing of a non-task is being executed.

Return value

Macro

Value

Description

TRUE

1

Normal completion (dispatch pending state).

FALSE

0

Normal completion (other state).