可能的输出:
Working on Thread A
Working on Thread B
Thread B will sleep for 10 seconds.
Thread A will sleep for 847 seconds.
Working on Thread C
Thread C will sleep for 26 seconds.
Working on Thread D
Thread D will sleep for 351 seconds.
Working on Thread E
Thread E will sleep for 249 seconds.
All jobs have been done.
本文地址:https://www.stayed.cn/item/17280
转载请注明出处。
本站部分内容来源于网络,如侵犯到您的权益,请 联系我