Index of /afs/cs.cmu.edu/academic/class/15213-s08/www/code/synch

      Name                    Last modified       Size  Description

[DIR] Parent Directory 29-Apr-2008 11:08 - [   ] Makefile 29-Apr-2008 08:38 1k [   ] badcnt 29-Apr-2008 15:09 45k [   ] badcnt.c 29-Apr-2008 11:18 2k [   ] csapp.c 29-Apr-2008 08:19 17k [   ] csapp.h 29-Apr-2008 08:19 5k [   ] csapp.o 29-Apr-2008 11:09 45k

Code illustrating synchronization

badcnt.c: Shows effects of race conditions and how to prevent them.
	  Command line options
	  -o	  Use optimized code
	  -s	  Use semphores
	  -n iters Set number of iterations