X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=doc%2Fthreads.texi;h=ac28ba86830da78c8431fd400edd164c5d959b94;hb=ae3c52f71438ff1997d07f97a4fdf4d675f7e562;hp=f8cd04e704e2ccf1b83ddda41e4e27ab4e2b49fd;hpb=b6076458398052c91e36e6968721aef756acadd1;p=pintos-anon diff --git a/doc/threads.texi b/doc/threads.texi index f8cd04e..ac28ba8 100644 --- a/doc/threads.texi +++ b/doc/threads.texi @@ -40,7 +40,7 @@ The first step is to read and understand the code for the initial thread system. Pintos already implements thread creation and thread completion, a simple scheduler to switch between threads, and synchronization -primitives (semaphores, locks, condition variables, and memory +primitives (semaphores, locks, condition variables, and optimization barriers). Some of this code might seem slightly mysterious. If @@ -170,7 +170,7 @@ Infrastructure}, for more information. @item synch.c @itemx synch.h Basic synchronization primitives: semaphores, locks, condition -variables, and memory barriers. You will need to use these for +variables, and optimization barriers. You will need to use these for synchronization in all four projects. @xref{Synchronization}, for more information. @@ -522,7 +522,7 @@ policy at Pintos startup time. By default, the priority scheduler must be active, but we must be able to choose the 4.4@acronym{BSD} scheduler with the @option{-mlfqs} kernel option. Passing this -option sets @code{enable_mlfqs}, declared in @file{threads/init.h}, to +option sets @code{thread_mlfqs}, declared in @file{threads/thread.h}, to true when the options are parsed by @func{parse_options}, which happens midway through @func{main}.