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.
oskit_u32_t statusThe status field is the current state of the thread. It is amongst
The scheduler must keep the status field consistent because the it is inspected by some thread library routines. For example the thread_resume system call checks whether the current status of the thread is THREAD_SUSPEND & only then resumes the thread.
oskit_u32_t sched_fieldThis field is entirely for private use of the scheduler & is not inspected by any kernel routine. One possible use of this field could be as next pointers if the tasks are stored in a linked list
The new_thread need not be marked THREAD_READY.It's' totally up to the scheduler to schedule the new_thread.