next up previous contents
Next: Heir Thread Up: Scheduler API Previous: Initialization   Contents

Creation of Thread

    oskit_u32_t (*new_thread)(struct tcb *)
This function is called whenever a new thread is created. The tcb of the new thread is passed as argument. The scheduler should update it's data structure to incorporate this thread.
The tcb has the following fields meant for use by the scheduler.

The new_thread need not be marked THREAD_READY.It's' totally up to the scheduler to schedule the new_thread.


next up previous contents
Next: Heir Thread Up: Scheduler API Previous: Initialization   Contents
Soumyadeb Mitra 2002-08-07