CSCI 1120 (Low-Level Computing):
Sample Programs
POSIX threads
Makefile
.
"Hello world" program
hello.c
.
Bounded buffer problem
files
.
Readers/writers problem
files
.
pthreads-examples.zip
containing all examples.
Other Linux examples
Example of memory-mapped I/O:
mmap-example.c
.
Example of various ways of putting code in a library:
files
.
Examples showing Linux memory overcommit:
lots-of-memory-1.cpp
,
lots-of-memory-2.cpp
.
Program reading selected items from
/proc
:
proc-fs.c
.
Scripts
Script to mail files for homework submission
mail-files
. Instructions for usage
here.
Miscellaneous
None yet.