6.14 void rtkThreadSchedule(struct Thread *t, struct Tick *t)

This function schedules the thread represented by a struct Thread object pointed to by t to be reactivated at the time specified by the struct Tick object pointed to by t.

The thread being scheduled must be a thread that is `ready' and not already `scheduled' or locked by a semaphore (see later sections). You can use rtkCurrentTask as parameter t, which causes the calling thread becomes inactive until the specified time.



Copyright © 2008-10-25 by Tak Auyeung