A solution to the classic Dining Philosophers concurrency problem in C.