cs205-lecture-examples

Example codes used during Harvard CS205 lectures
git clone https://git.0xfab.ch/cs205-lecture-examples.git
Log | Files | Refs | README | LICENSE

README.md (266B)


      1 The code in this directory accommodates slide 12 of lecture 5.
      2 
      3 All examples assume two threads are running.  The code (partial orders) the
      4 threads execute involves read and write access to shared variables `A` and `B`.
      5 The variables `x` and `y` are thread private.