X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=blobdiff_plain;f=src%2Fthreads%2Fthread.h;h=26e785fc8d429514c627fb9a8a3922a27f0faaf3;hp=56b84a7dbff4018afa816fd324ff02eb8dbcc675;hb=e49318880e6420e9b5a4ae9ffb986b49f89798e0;hpb=979d9e154fd0d644f65cac9cf20b379e107a8cee diff --git a/src/threads/thread.h b/src/threads/thread.h index 56b84a7..26e785f 100644 --- a/src/threads/thread.h +++ b/src/threads/thread.h @@ -5,10 +5,6 @@ #include #include -#ifdef USERPROG -#include "userprog/addrspace.h" -#endif - /* States in a thread's life cycle. */ enum thread_status { @@ -110,9 +106,6 @@ void thread_start (void); typedef void thread_func (void *aux); tid_t thread_create (const char *name, int priority, thread_func *, void *); -#ifdef USERPROG -tid_t thread_execute (const char *filename); -#endif void thread_unblock (struct thread *);