A computer is a state machine. Threads are for people who can't program state machines. -- Alan Cox