CS208 Introduction to Computer Systems Friday, 24 Feb 2023 + Questions + Digression: POSIX + More race conditions - Recap how race can happen - Look at assembly language of "critical region" - Atomicity - Look at one solution: norace.c What's going on here? + Coming soon - Multi-threaded programming - in C with pthreads - in Python with thread - Network programming - TCP connections & ports - netcat - sockets in C