next up previous contents
Next: Thread Self Up: Thread Library Previous: Thread Resume   Contents

Thread Reset

unsigned int thread_reset(struct tcb *t)
This function is for resetting a thread. On reset, the tcb is restored to the original state, in which the state was created. Only those threads that have completed their execution , can be reset. Typically this function is meant for implementing periodic threads.

Soumyadeb Mitra 2002-08-07