john@lucifer: cp dmndUnSynchd.cpp dmnd.cpp john@lucifer: make g++ -c dmnd.cpp g++ -c sem.cpp g++ -o dmnd dmnd.o sem.o john@lucifer: dmnd Welcome to The Trivial Diamond-Making Program! Mother Begins Spawning Threads. Child # 1 is now in position. Mother Finishes Spawning Threads. Child # 0 is now in position. Child # 2 is now in position. Child # 3 is now in position. ^C john@lucifer: dmnd Welcome to The Trivial Diamond-Making Program! Mother Begins Spawning Threads. Mother Finishes Spawning Threads. Child # 3 is now in position. Child # 2 is now in position. Child # 1 is now in position. Child # 0 is now in position. ^C john@lucifer: dmnd Welcome to The Trivial Diamond-Making Program! Mother Begins Spawning Threads. Mother Finishes Spawning Threads. Child # 2 is now in position. Child # 1 is now in position. Child # 3 is now in position. Child # 0 is now in position. ^C