Starter code for thread_struct and proc_struct initialization