4-exr - from those used when a process is created 4.5...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
4 CHAPTER Threads Practice Exercises 4.1 Provide two programming examples in which multithreading provides better performance than a single-threaded solution. 4.2 What are two differences between user-level threads and kernel-level threads? Under what circumstances is one type better than the other? 4.3 Describe the actions taken by a kernel to context switch between kernel- level threads. 4.4 What resources are used when a thread is created? How do they differ
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: from those used when a process is created? 4.5 Assume an operating system maps user-level threads to the kernel us-ing the many-to-many model and the mapping is done through LWPs. Furthermore, the system allows developers to create real-time threads. Is it necessary to bind a real-time thread to an LWP? Explain. 4.6 A Pthread program that performs the summation function was provided in Section 4.3.1. Rewrite this program in Java. 7...
View Full Document

This note was uploaded on 11/03/2009 for the course IT OS taught by Professor Dr.stephan during the Winter '09 term at Abu Dhabi University.

Page1 / 2

4-exr - from those used when a process is created 4.5...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online