Priority issues thread

 

The maximum priority of the thread is 10, the minimum priority is 1, the default priority is 5

Higher priority thread is more likely to be executed, but not absolute

Priority can only be an integer between 1 and 10

The priority of the new thread, the main thread are 5

Guess you like

Origin www.cnblogs.com/LuJunlong/p/12095978.html