X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fstandards.texi;h=e7ed5686265f8bd94e89b496b7414f6192c631c3;hb=bc4d80ea366522bd5aa51d9c371c47deca10c69f;hp=1434a635ecdae320d66bd1a56ed9a977c2438e8c;hpb=7a48d9a0ac4176681da03e878061b0c59e5bade4;p=pintos-anon diff --git a/doc/standards.texi b/doc/standards.texi index 1434a63..e7ed568 100644 --- a/doc/standards.texi +++ b/doc/standards.texi @@ -64,9 +64,14 @@ compile properly without the need for any new macros to be defined. There are a few exceptions: @itemize @bullet +@item +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 +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. @@ -135,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