Introduction - If you have any usage issues, please Google them yourself
This program threads using java language simulation scheduling, dispatching the former on the basis of random rotation scheduling, priority scheduling, process scheduling of the relationship between threads and try to achieve with the semaphore lock and release the thread.