CSCI 3323 (Principles of Operating Systems):
Sample Programs
Linux examples
Example of memory-mapped I/O:
mmap-example.c
.
Example of various ways of putting code in a library:
files
.
POSIX threads
Makefile
.
"Hello world" program
hello.c
.
Bounded buffer problem
files
.
Readers/writers problem
files
.
pthreads-examples.zip
containing all examples.