6.6 void rtkInitialize(struct Thread *t, struct Queue *q)

This function (simiar to a method in C++) allows an application to initialize the RTK. The initial thread (whoever calls rtkInitialize) must declare an struct Thread object and pass its address as the first parameter t. The second parameter, q, is the address of the priority queue that the initial thread belongs to.

Do not call another other rtkThread... functions before calling rtkInitialize.



Copyright © 2008-10-25 by Tak Auyeung