Home > Back-end >  The 2020-12-13: with a minimum number of threads, each thread execution for air circulation, the CPU
The 2020-12-13: with a minimum number of threads, each thread execution for air circulation, the CPU

Time:12-14

The 2020-12-13: with a minimum number of threads, each thread execution for air circulation, the CPU is played, if add the printing function in the for air circulation, will play with the CPU? Why is that? # # f greatly architects a daily topic

CodePudding user response:

Won't, because the printing method is synchronous processing, synchronization will naturally cause the CPU waiting, waiting is CPU idle CPU (can do other processing), so without a full CPU of this kind of circumstance,
  • Related