In-class notes for 10/16/2019
CS 273 (OS), Fall 2019
Quiz Friday - topics
-
Systems programming with pthreads, sockets,
FILETeam project:
- 2-3 person teams. Form to declare your team
- Separate shared stogit repo per team (created after I receive your form). Do all your work in that repo (can analyze commit history)
- Time logging - report all the work you personally do on the project on this form; indicate collaborative work; log your work within 24 hours of when you did the work
Team development strategy available tomorrow.
Homework, quiz grades: Assignment appeal form
Shell project return by Friday
Missing office hours today - extra times tomorrow
System management lab
Some terms:
protocol: Rules for valid communication, e.g., between two programs over a network
web server: A program that receives network requests in
httpformat and responds to those requests. (HTTP = HyperText Transfer Protocol)IP table: A tabular data structure, located per host in a network, for governing Internet communication between hosts. (IP = Internet Protocol)
proxy server: A networked server program that relays communication to another networked server. Often used to provide limited external network access to a server located on a protected local network.
container: A process running on an OS that behaves like a custom-configured host with an OS of its own, without using a virtual machine.
Docker: A proprietary framework for running and managing containers
container image: Configuration rules for customizing a container
To study for quiz
IPC strategies
Busy wait, TSL, ______
Semaphores, monitors, message passing:
Data structures and primitives; see also class notes on these IPC strategies
Review the shared data structure in-class exercises (semaphores, monitors, message passing)
Review text's producer/consumer examples
Usage contexts for each of these IPC strategies, e.g., monitors are implemented within a programming language
Race conditions (correct behavior depends on timing) and four conditions for correct IPC - understand each
Mutual exclusion; bounded wait; independence of speed; progress
Know them - be able to describe them and apply them
Race conditions: definition; locating race conditions.
< >