Thread.sleep、Object.wait、LockSupport.park 区别图解

 

Thread.sleep、Object.wait、LockSupport.park 区别如下图:

 

 

 

 

 

参考:

Java 并发编程之美

https://blog.csdn.net/u013332124/article/details/84647915

 

 

 

你可能感兴趣的:(JAVA)