X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fthreads.texi;h=d353f2212ed12ad5e64af51e830329ef572d8b9e;hb=a3f360bff01c33a4c9167c35f30b760b3a5de8d5;hp=6a36e0829861adc06ce37b16f149ce682204eb9e;hpb=ce3467cf3112bb05c3e888036019a20db1b6ef9f;p=pintos-anon diff --git a/doc/threads.texi b/doc/threads.texi index 6a36e08..d353f22 100644 --- a/doc/threads.texi +++ b/doc/threads.texi @@ -502,9 +502,6 @@ it on by inserting the line @code{#define MLFQS 1} in @node Threads FAQ @section FAQ -@enumerate 1 -@item General FAQs - @enumerate 1 @item @b{I am adding a new @file{.h} or @file{.c} file. How do I fix the @@ -587,7 +584,15 @@ the function isn't actually used by other @file{.c} files, make it @code{static}. @end enumerate -@item Alarm Clock FAQs +@menu +* Problem 1-1 Alarm Clock FAQ:: +* Problem 1-2 Join FAQ:: +* Problem 1-3 Priority Scheduling FAQ:: +* Problem 1-4 Advanced Scheduler FAQ:: +@end menu + +@node Problem 1-1 Alarm Clock FAQ +@subsection Problem 1-1: Alarm Clock FAQ @enumerate 1 @item @@ -630,7 +635,8 @@ values are expressed as signed 63-bit numbers, which at 100 ticks per second should be good for almost 2,924,712,087 years. @end enumerate -@item Join FAQs +@node Problem 1-2 Join FAQ +@subsection Problem 1-2: Join FAQ @enumerate 1 @item @@ -642,7 +648,8 @@ A parent joining a child that has completed should be handled gracefully and should act as a no-op. @end enumerate -@item Priority Scheduling FAQs +@node Problem 1-3 Priority Scheduling FAQ +@subsection Problem 1-3: Priority Scheduling FAQ @enumerate 1 @item @@ -768,7 +775,8 @@ its priority has been increased by a donation?} The higher (donated) priority. @end enumerate -@item Advanced Scheduler FAQs +@node Problem 1-4 Advanced Scheduler FAQ +@subsection Problem 1-4: Advanced Scheduler FAQ @enumerate 1 @item @@ -816,4 +824,3 @@ However, you are free to do so. No. Hard-coding the dispatch table values is fine. @end enumerate -@end enumerate