hw2-1 - content of these slots of a typical PCB 4 The POSIX...

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

View Full Document Right Arrow Icon
COP4610 Spring 2006 Homework Assignment 2 The material for this homework assignment covers Chapters 3 to 4. 1. Describe the five process states that define the activity of a process. 2. An OS uses queues to manage processes in different states. Suppose a system has one I/O device with one queue. How many queues are used in a typical OS for this system to schedule processes and what are the possible states of the processes in these queues? 3. The scheduling queues contain PCBs. Name the slots and briefly describe the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: content of these slots of a typical PCB. 4. The POSIX shared memory API defines four system calls shmget(), shmat(), shmdt(), and shmctl() that can be used for IPC. Describe the four system calls. 5. What are the benefits of multithreaded programming? 6. Textbook exercise 4.7 (page 147). Explain what happens. Test the code if in doubt. 7. What is a LWP (light-weight process)?...
View Full Document

This note was uploaded on 10/11/2011 for the course COP 4610 taught by Professor Robertengelen during the Spring '11 term at FSU.

Ask a homework question - tutors are online