X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fstandards.texi;h=e7ed5686265f8bd94e89b496b7414f6192c631c3;hb=cb23eeb534a85547c427b695b6838e5792e31ddb;hp=4b3bbefc4f68dc14b0e84d00167ff8d99fe95a1c;hpb=699944803572c46c550a39027c0ebd935b0d61bc;p=pintos-anon diff --git a/doc/standards.texi b/doc/standards.texi index 4b3bbef..e7ed568 100644 --- a/doc/standards.texi +++ b/doc/standards.texi @@ -65,9 +65,15 @@ There are a few exceptions: @itemize @bullet @item -Project 1 has a few parts that we must be able to turn on and off via -conditional compilation. You must use the macros we specify for those -parts. +Problem 1-2, @code{thread_join()}. Some other code expects +@code{THREAD_JOIN_IMPLEMENTED} to be defined once you've implemented +this function. + +@item +Problem 1-4, the advanced scheduler. We must be able to turn this on +and off with a compile-time directive. You must use the macro name we +specify for that part. @xref{Problem 1-4 Advanced Scheduler}, for +details. @item Code written for extra credit may be included conditionally. If the @@ -134,7 +140,7 @@ the C compiler concatenates adjacent string literals: #include @dots{} int32_t value = @dots{}; -printf ("value=%08"PRId32"\n"); +printf ("value=%08"PRId32"\n", value); @end example @noindent The @samp{%} is not supplied by the @code{PRI} macros. As shown