X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fthreads%2Fthread.c;fp=src%2Fthreads%2Fthread.c;h=6eda28032b397f109cba706769a12a97788e9302;hb=2cfc156c39840ce7f1cda6b473de1322691a8a0b;hp=ae92e1d646dc50d50ce02d26747ca12a8bd82236;hpb=63bae7d91cfdc5d6f73b52702ecb6dcca515496c;p=pintos-anon diff --git a/src/threads/thread.c b/src/threads/thread.c index ae92e1d..6eda280 100644 --- a/src/threads/thread.c +++ b/src/threads/thread.c @@ -274,17 +274,6 @@ thread_yield (void) intr_set_level (old_level); } -/* Waits for the thread with the specified TID to terminate. If - TID has already terminated or TID does not refer to an - immediate child of the current thread, returns immediately. - - This function will be implemented in problem 1-2. For now, it - does nothing. */ -void -thread_join (tid_t child_tid UNUSED) -{ -} - /* Sets the current thread's priority to NEW_PRIORITY. */ void thread_set_priority (int new_priority)