Thread 的几个概念sleep、wait、yield、interrupt
转自: http://blog.csdn.net/zzjjiandan/article/details/23828953## yield和sleep的区别JDK1.5.0的API文档里的描述:
yield:Causes the currently executing thread object to temporarily pause and allow other threads to exec
转载
2016-09-18 13:13:26 ·
463 阅读 ·
0 评论