30.12.2013 Views

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

196 CHAPTER 4. T-KERNEL/OS FUNCTIONS<br />

tk ena dsp<br />

Enable Dispatch<br />

[C Language Interface]<br />

ER ercd = tk_ena_dsp ( ) ;<br />

[Parameters]<br />

None<br />

[Return Parameters]<br />

ER ercd Error code<br />

[Error Codes]<br />

E OK<br />

E CTX<br />

Normal completion<br />

Context error (issued from task-independent portion)<br />

[Description]<br />

Enables task dispatching.<br />

This system call cancels the disabling of dispatching by the tk dis dsp system call.<br />

If tk ena dsp is called for a task not in dispatch disabled state, the dispatch enabled state continues<br />

and no error code is returned.<br />

Copyright c○ 2002, 2003 by T-Engine Forum<br />

T-<strong>Kernel</strong> <strong>1.B0.02</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!