SYSC-3303-01-Concurrency

SYSC-3303-01-Concurrency - SYSC 3303 RealTime Programming...

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

View Full Document Right Arrow Icon
SYSC 3303 Real Time Programming Concurrency
Background image of page 1

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

View Full DocumentRight Arrow Icon
oncurrency Concurrency t any time a single CPU is executing the code At any time, a single CPU is executing the code from a single thread ue concurrency on a ni rocessor is not possible True concurrency on a uni processor is not possible The scheduler and the context switcher in the perating System create the illusion of Operating System create the illusion of concurrency Share CPU between multiple concurrent units p Operating System scheduling is later in the course r now a brief introduction in the rocess Model For now, a brief introduction in the Process Model 1/9/2009 2 SYSC 3303 Winter 2009 C. Schramm
Background image of page 2
o ate process model Two state process model Simplest model i ith bi A process is either being executed by a processor or not Queue is FIFO ch process in queue Each process in queue given a certain amount of time, in turn, to execute and then returned to queue. q If all processes were always to execute, then the queuing discipline would be effective. Inadequate: some processes in the Not Running state are not ready to execute 1/9/2009 SYSC 3303 Winter 2009 C. Schramm 3
Background image of page 3

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

View Full DocumentRight Arrow Icon
ve ate process model Five state process model 1/9/2009 SYSC 3303 Winter 2009 C. Schramm 4
Background image of page 4
Context Switch 1/9/2009 SYSC 3303 Winter 2009 C. Schramm 5
Background image of page 5

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

View Full DocumentRight Arrow Icon
rocess Scheduling Process Scheduling 1/9/2009 SYSC 3303 Winter 2009 C. Schramm 6
Background image of page 6
1/9/2009 SYSC 3303 Winter 2009 C. Schramm 7
Background image of page 7

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

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

This note was uploaded on 07/16/2009 for the course SYSC 3303 taught by Professor Shramp during the Spring '09 term at Carleton CA.

Page1 / 16

SYSC-3303-01-Concurrency - SYSC 3303 RealTime Programming...

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

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