Lecture16nFull - Click to edit Master subtitle style 8/1/11...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: Click to edit Master subtitle style 8/1/11 Lecture 16 COP 4600 Operating Systems Spring 2011 Dan C. Marinescu Office: HEC 304 Office hours: Tu-Th 5:00-6:00 PM Lecture 16 8/1/11 n Last time: n Virtualization for the three abstractions Threads Virtual Memory Bounded buffer n The kernel of an operating syste n Today: n Threads State n Processor switching n Semaphores n Deadlocks Next time n Communication with a bounded buffer Lecture 16 Tuesday, March 22, 2011 Lecture 16 22 Lecture 16 8/1/11 Thread and VM management virtual computer n The kernel supports thread and virtual memory management n Thread management: Creation and destruction of threads Allocation of the processor to a ready to run thread Handling of interrupts Scheduling deciding which one of the ready to run threads should be allocated the processor n Virtual memory management W maps virtual address space of a thread to physical memory. n Each module runs in own address space; if one module runs multiple threads all share one address space. n Thread + virtual memory & virtual computer for each module. Lecture 16 33 Lecture 16 8/1/11 Threads and the Thread Manager n Thread & virtual processor - multiplexes a physical processor a module in execution; a module may have several threads....
View Full Document

Page1 / 16

Lecture16nFull - Click to edit Master subtitle style 8/1/11...

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

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