Source code for examples from the CpSc 418 lecture on Feb. 24, 2016.
- procs.erl: count 3s in C. A sequential version and
four parallel versions (based on Principles of Parallel Programming Chap. 1,
C. Lin and L.A. Snyder) using pthreads.
- path.erl: a function that takes a pointer as an
argument and does nothing. This keeps gcc from optimizing away repeated
calls to the same function -- gcc doesn't know if the argument has changed.
- Makefile: like it sounds.
- c3s.erl: an Erlang version of count 3s for comparison.