RTEMS ITRON 3.0 API User's Guide
ER ena_dsp(void);
E_OK
- Normal Completion
E_CTX
- Context error (issued from task-independent portions or issued after execution of loc_cpu)
This system call enables task dispatching, that is, it finishes dispatch disabled state caused by the execution of dis_dsp.
No error will result if a task which is not in dispatch disabled state issues ena_dsp. In this case, dispatching will just remain enabled.
An E_CTX error will result if ena_dsp is issued when both interrupt and dispatching are disabled with loc_cpu. (For details, see the description of loc_cpu.)
RTEMS ITRON 3.0 API User's Guide
Copyright © 1988-2000 OAR Corporation