Sample threads programs. Both programs provide the same functionality, a threaded program that reads from stdin (one thread) and writes to stdout (the other thread). threadecho is a BAD example - it uses busy waiting. threadecho2 is much better - it uses condition signals. Files: Makefile: makefile for building both programs threadecho.c: source for the bad example threadecho2.c: the better version, uses condition signals.