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.

4.4. SYNCHRONIZATION AND COMMUNICATION FUNCTIONS 89<br />

tk del flg<br />

Delete Event Flag<br />

[C Language Interface]<br />

ER ercd = tk_del_flg ( ID flgid ) ;<br />

[Parameters]<br />

ID flgid Event flag ID<br />

[Return Parameters]<br />

ER ercd Error code<br />

[Error Codes]<br />

E OK<br />

E ID<br />

E NOEXS<br />

Normal completion<br />

Invalid ID number (flgid is invalid or cannot be used)<br />

Object does not exist (the event flag designated in flgid does not exist)<br />

[Description]<br />

Deletes the event flag designated in flgid.<br />

Issuing this system call releases the corresponding event flag ID and control block memory space.<br />

This system call is completed normally even if there are tasks waiting for the event flag, but error code<br />

E DLT is returned to each task in WAIT state.<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!