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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

poratr:= (TA_TFIFO || TA_TPRI) | [TA_NODISWAI]<br />

TA TFIFO<br />

TA TPRI<br />

TA NODISWAI<br />

Tasks waiting on call are queued in FIFO order<br />

Tasks waiting on call are queued in priority order<br />

Wait disabling by tk dis wai is prohibited<br />

TA TFIFO and TA TPRI attributes designate the queuing order of tasks waiting on a rendezvous call.<br />

Tasks waiting on rendezvous acceptance are queued in FIFO order only.<br />

#define TA_TFIFO 0x00000000 /* manage task queue by FIFO */<br />

#define TA_TPRI 0x00000001 /* manage task queue by priority */<br />

#define TA_NODISWAI 0x00000080 /* reject wait disabling */<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!