ch18.docx - Chapter 18 18.1 The problems that can occur are inaccurate reads(a reader reads before the writer finishes writing data corruption(when two

ch18.docx - Chapter 18 18.1 The problems that can occur are...

This preview shows page 1 out of 1 page.

Chapter 18 18.1 The problems that can occur are inaccurate reads (a reader reads before the writer finishes writing), data corruption (when two writers access the resource at the same time). 18.2 Memory mapping is a an efficient because it makes the recourse directly addressable. Thus, avoiding unnecessary reads, writes and copies. 18.3 A critical section is a portion of code where a shared resource could be modified. Contending critical sections are two or more critical sections that access the same shared resource. 18.4 procure is when a task can grab a key and enter the critical section. Vacate is when a task returns the key to the semaphore and leaves the critical section. 18.5 The number of keys is initialized to number of recourses. The semaphores allow tasks to grab a key, until all the keys are gone. If no keys are available, the task must wait until another
Image of page 1
  • Spring '14
  • AngelikaPagel
  • Writer

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes