Autumn 2021
Jerry Cain
PDF
These slides were constructed by Jerry Cain. They are the product of many conversations with Professors Mendel Rosenblum (CS110, CS140, CS142 instructor) and Phil Levis (CS107E, CS110, CS144 instructor).
FILE *
s and C++ iostream
s for a while now, and knew little of how they might work until we studied them this quarter). We did learn about file descriptors this quarter, and we leverage that abstraction to make other data sources (e.g. networked servers) look and behave like files.fork
and execvp
work).thread
s, but you don't really know how they're implemented).open
, write
, fork
, sleep
, bind
, etc. are userland wrappers around a special type of function call into the kernel. User space and kernel space are two separate modules with a hard boundary separating them).