Lecture: 5 April, 2010
Justin Carlson
Process Control II
Examples used in lecture today
fork4.c
- x increment before fork
fork5.c
- x increment after fork
fork6.c
- ABC in parallel
fork7.c
- 50 children with sleep
exec1.c
- simple exec
exec2.c
- simple fork/exec
printargs.c
- A program that prints its arguments
exec3.c
- exec with arguments
exec4.c
- exec with array of arguments
wait1.c
- wait for a child to finish
wait2.c
- wait for multiple children
wait3.c
- wait for a specific child
wait4.c
- Create a zombie process
badsh.c
- A (bad) shell