unsigned int thread_suspend(struct tcb *t)
This function is called to suspend (or block) any thread. t is the pointer to the tcb of the thread to be suspended. The suspended thread remains in blocked state unless it is resumed by the thread_resume system call.