Computer Science 330
Operating Systems
Fall 2022, Siena College
Lecture 0x02: Processes, Threads, and Resources
Date: Friday, September 16, 2022
Agenda
- Announcements
- The next readings/activities from OS zyBook: Chapter 3, due Friday, September 23
- Looking at the exercises for OS zyBook Chapter 2
- PCBs and process creation in FreeBSD
- Developing a design for the fast-food restaurant DES model
Examples
Terminology
- process
- process control block (PCB)
- process states: new, terminated, suspended, running, ready, blocked
- context switch
- CPU state
- physical CPU
- time sharign
- virtual CPU
- process creation hierarchy
- create process function
- destroy process function
- resource control block (RCB)
- allocated resource/free resource
- request resource function
- release resource function
- scheduler function