Tutorial2 - Tutorial II October 4 2010 Question 1(2008/09...

Info icon This preview shows page 1. Sign up to view the full content.

Tutorial II October 4, 2010 Question 1 (2008/09 Quiz) Consider the following events: (i) Completion of the disk I/O operation (ii) User presses Ctrl-C to kill the foreground running process (iii) Processor accesses a memory location, which is not currently in physical memory (iv) A child process has successfully terminated (v) Processor tries to dereference an uninitialized pointer Indicate which of these events is best defined by each of the following system activities. (Some events can have more than one answer.) (a) Synchronous interrupt (b) Asynchronous interrupt (c) Synchronous signal (d) Asynchronous signal Question 2 (2009/10 Assignment) We have two approaches to support multi-threading in a process. They are the kernel-level threads, which can be mapped to threads within a process; and the user-level threading library, which is independent of any operating system support. Modern operating systems take either approach or a combination of both. a) What are the differences between user-level threads and kernel-level threads? b) For each of the following issues, specify one of the following answers and give explanation to
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '10
  • DR
  • Computer multitasking, Context switch, kernel-level threads

{[ snackBarMessage ]}

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