X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fthreads.texi;h=63aed6928bb287218bc9d7ce9a8458d924837e0e;hb=8963460220b9958398d0f18ff24fa73328bbb76b;hp=96a9ca24706d565838f03656fbf374ddd0594489;hpb=01679e7fec5244d137cc9b2cfc2d72e946c4d9d2;p=pintos-anon diff --git a/doc/threads.texi b/doc/threads.texi index 96a9ca2..63aed69 100644 --- a/doc/threads.texi +++ b/doc/threads.texi @@ -12,10 +12,11 @@ this assignment, with some work in the @file{devices} directory on the side. Compilation should be done in the @file{threads} directory. Before you read the description of this project, you should read all -of the following sections: @ref{Introduction}, @ref{Threads Tour}, -@ref{Coding Standards}, @ref{Project Documentation}, @ref{Debugging -Tools}, and @ref{Development Tools}. To complete this project you -will also need to read @ref{Multilevel Feedback Scheduling}. +of the following sections: @ref{Introduction}, @ref{Coding Standards}, +@ref{Project Documentation}, @ref{Debugging Tools}, and +@ref{Development Tools}. You should at least skim the material in +@ref{Threads Tour}. To complete this project you will also need to +read @ref{Multilevel Feedback Scheduling}. @menu * Understanding Threads:: @@ -129,7 +130,7 @@ gets initialized. @item thread.c @itemx thread.h Basic thread support. Much of your work will take place in these -files. @file{thread.h} defines @code{struct thread}, which you will +files. @file{thread.h} defines @struct{thread}, which you will modify in the first three projects. @item switch.S @@ -405,7 +406,7 @@ should implement @func{thread_join} to have the same restriction. That is, a thread may only join its immediate children. A thread need not ever be joined. Your solution should properly free -all of a thread's resources, including its @code{struct thread}, +all of a thread's resources, including its @struct{thread}, whether it is ever joined or not, and regardless of whether the child exits before or after its parent. That is, a thread should be freed exactly once in all cases.