next up previous contents
Next: OPERATING SYSTEMS LABORATORY VII Up: OPERATING SYSTEMS LABORATORY VI Previous: OPERATING SYSTEMS LABORATORY VI   Contents

Examples&Exercises:

  1. Shared Memory; http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code35.c code35.c
  2. Semaphore, Shared Memory; http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code36.c code36.c
    Shared memory example to find the sum of the first 1000 numbers in parallel using two processes, one to add even numbered elements and one to add odd numbered elements;
  3. Race Conditions; complete the following program. http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code30.c code30.c
  4. Critical Sections; complete the following program. http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code31.c code31.c
  5. Condition Variable (Spin loop); http://siber.cankaya.edu.tr/OperatingSystems/cfiles/code33.c code33.c

next up previous contents
Next: OPERATING SYSTEMS LABORATORY VII Up: OPERATING SYSTEMS LABORATORY VI Previous: OPERATING SYSTEMS LABORATORY VI   Contents
Cem Ozdogan 2009-05-11