Java 中线程的空闲时间是什么意思? 我正在阅读Java The Complete Reference 8th edition's和 它说的是这样的:
...One thread can pause without stopping other parts of your program. For example, the idle time created when a thread reads data from a network or waits for user input can be utilized elsewhere...
最佳答案
在这种情况下,这意味着线程的状态是 WAITING
或TIMED_WAITING
,这意味着
A thread in the waiting state is waiting for another thread to perform a particular action.
关于java - Java中线程的空闲时间是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56810390/