Implementing Processes, Thread and Resources - Lecture Notes for Exam | CS 3204, Study notes of Operating Systems

Material Type: Notes; Professor: Ali; Class: Operating Systems; Subject: Computer Science; University: Virginia Polytechnic Institute And State University; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 02/13/2009

koofers-user-jp4
koofers-user-jp4 ๐Ÿ‡บ๐Ÿ‡ธ

10 documents

1 / 44

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
๎˜๎˜‚๎˜ƒ๎˜„๎˜…๎˜†๎˜‡๎˜ˆ๎˜‰
๎˜Š๎˜‹๎˜„๎˜Œ๎˜†๎˜‹๎˜†๎˜๎˜…๎˜Ž๎˜๎˜๎˜ˆ๎˜๎˜‡๎˜‘๎˜’๎˜†๎˜“๎˜“๎˜†๎˜“๎˜”๎˜ˆ๎˜•๎˜‚๎˜‡๎˜†๎˜ƒ๎˜–๎˜“๎˜ˆ๎˜ƒ๎˜๎˜–๎˜ˆ
๎˜—๎˜†๎˜“๎˜‘๎˜˜๎˜‡๎˜’๎˜†๎˜“
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c

Partial preview of the text

Download Implementing Processes, Thread and Resources - Lecture Notes for Exam | CS 3204 and more Study notes Operating Systems in PDF only on Docsity!

 ^  



      ^    ^ 

  ^  ^ 

^  ^  

 ^    

!^   

^  ^  

OS AddressSpace (  ^  

)* ControlUnit OS interface

CPU^ P^ Addressi^ ALUSpace^ โ€ฆ^ Machine Executable Memory

PCPUi^ P Executablei^ Memory

PCPU PCPUk^ j โ€ฆ P Executable PExecutablek^ j MemoryMemory^ P^ Addressk^ Space^ PAddressj^ Space

,^   -

  ApplicationProgram CreateThread()^ fork()CreateProcess()CloseHandle()wait()exec()WaitForSingleObject() File Mgr^ File Mgr Device Mgr^ Device Mgr Process Mgr^ Process Mgr Memory Mgr^ Memory Mgr UNIX^ Windows Hardware

4

  

^ ^ 5^   #

!^  $ 

^    

^    

6   

OS interface

Thrd^ in PThrd^ in Pj^ i^ k^ i^ โ€ฆ P^ CPUi^ โ€ฆ^ โ€ฆ^ โ€ฆ

89

)^ AddressAddressSpaceBinding Process

ExecutableMemory^ Files^ Other objects

88

^  *

^  

 ^   *   <& ^ 

^ ^ !

 2  3^ 

8"

)*

 Application Program User ModeInstructions User ModeInstructions

Abstract Machine Instructions Trap^ fork()Instructionopen()^ create()^ OS Supervisor ModeInstructions

8(

  Executable Memory^1 Initialization^ ProcessManager^ InterruptHandler^2 P^1 P^2 P^ n

3 4 5 (^78) Interrupt 9 6

8

^ ^  

^ %

84

87

:^ !=

; )  

^ ^ !



:^ !=

!E

^ ) !^

^  ^   *

 ^ ^ !^ ^ !^ ^  ^ ^ !^ ^ !^  ^ ^ ^     !* ^ ^ โ‰ ^ โ‰ ^ ^2 '3^ ^ ^ ^ F ^ ^ &^ 

^  G