Introduction - If you have any usage issues, please Google them yourself
UNIC-C thread synchronization problems. Five philosophers sitting around a round table in front of each philosopher has a plate of pasta. As the pasta is very slippery, so you need two forks to grip. Placed a fork between two adjacent plates. Philosopher' s life there are two alternating active periods: that eating and thinking. When a philosopher feel hungry when he tried twice to whichever left and right fork, each take one, but regardless of the order. If you successfully got two forks, they begin to eat, fork down after eating continue thinking.