Introduction - If you have any usage issues, please Google them yourself
Note: This procedure is typical of the operating system thread synchronization algorithm dining philosophers problem, in order to prevent deadlock, has taken two conditions (free chopsticks) are true and then allow the solution to eating.