这是RedSpider社区成员原创与维护的Java多线程系列文章。
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
Lemon158 opened this issue 4 years ago · comments
不设置main的休息时间,测试之后出现的情况有两种。情况1:a:runnable,b:bolcked;情况2 a:runnable,b:runnable
你好, 感谢指出, 你的说法是对的. 就算不指定main线程的sleep(), 方法 具体的调度也需要看时间片的分配. 会尽快修复