|
| |
![]() |
|
Next: Special
Notes Up: Nachos
Threads Previous: Threads
& Scheduling
Synchronization and Mutual ExclusionLow-level Nachos routines (including the ones discussed above) frequently disable and re-enable interrupts to achieve mutual exclusion (e.g., by calling Interrupt::SetLevel()).Synchronization facilities are provided through semaphores. The Semaphore object provides the following operations:
|
Nachos Introduction Tutorials |
| © 1999-2008 - All rights reserved. CS tutorials™ and the logo are registered trademarks of CS tutorials. | |