Waiting processes: no process should stay without processor time for long periods of time; additionally, no process should take an unreasonably high amount of CPU time.
等待进程:没有进程需要长时间地等待处理器;同时,没有进程会无端地占用大量的CPU时间。
Rather than waste good processor cycles waiting around for data to transmit, your code can instead have a second buffer waiting to process.
不要浪费宝贵的处理器周期来等待数据传输。
Once there are more threads than processors, the threads must compete with one another for processor time, and some threads will always be waiting, so the application effectiveness is reduced.
如果线程数多于处理器数,那么线程必须争用处理器时间,有些线程会一直处于等待状态,这样,应用程序的效率就降低了。
应用推荐