Mark thread_start() NO_RETURN.
[pintos-anon] / src / threads / thread.h
index 9251ad88cb3c47ec1190099a9d2511dc99f93da3..efa3a024c419604a0e5beca2b68bb1cbc9e4a996 100644 (file)
@@ -39,13 +39,12 @@ struct thread *thread_current (void);
 bool thread_execute (const char *filename);
 #endif
 
-void thread_start (struct thread *);
+void thread_start (struct thread *) NO_RETURN;
 void thread_ready (struct thread *);
 void thread_exit (void) NO_RETURN;
 
 void thread_yield (void);
 void thread_sleep (void);
-void thread_schedule (void);
 
 void thread_self_test (void);