Thread State After Calling sleep() Method
The state of the thread after calling the sleep() method will be 'not operational' or 'blocked'. The sleep method causes the thread to pause its execution for a specific amount of time, but the thread is not terminated or killed. It is simply not able to execute any further until the sleep time has elapsed.
原文地址: https://www.cveoy.top/t/topic/oz0x 著作权归作者所有。请勿转载和采集!