Shared Flashcard Set

Details

ELE709 02 RTOS
Ryerson ELE709: Real-Time Computer Control System
10
Engineering
Undergraduate 4
10/13/2008

Additional Engineering Flashcards

 


 

Cards

Term
What is an operating system responsible for? (4 points)
Definition
1 task creation, management and scheduling 2 interrupt servicing 3 communication and synchronization between tasks 4 memory management
Term
What is a Kernel and what does it consist of?
Definition
A minimal set of supervisory SW for task scheduling and resource
management.
It consists of a scheduler, kernel objects, and services.
Term
What does the scheduler do?
Definition
It provides algorithms to determines which task executes when.
Term
What is a task?
Definition
In this course, task is used as a generic name for either a process
or a thread.
Term
What is a process?
Definition
A normal unit of execution in an OS.
Term
What does an OS provide to each process?
Definition
Memory page, CPU registers, queues, kernel objects, and a PCB (process control block)
Term
What is a PCB?
Definition
Process Control Block is an abstraction of a process consisting of: ID of the process, CPU registers, process state, address space mapping details, stack pointers, and resources allocated and needed.
Term
What is a thread?
Definition
A lightweight process share address space but has it's own PC, register sets, and stacks.
Term
Name a few pros and cons of threading.
Definition
Pros: foreground and background processing, asynchronous processing, modular program structure
Cons: Additional overhead, programming discipline, and difficulty in debugging.
Term
What does a context switch do?
Definition
It saves the currently running task before another task can be executed during multitasking.
Supporting users have an ad free experience!