什么导致线程阻塞-58-美团 该内容存在问题,导致读取时容易出现理解错误

作者: wyc192273创建于 2019年9月24日更新于 2019年9月24日

At first glance, there seems to be no difference between them and the suspend() and resume() methods, but in fact they are quite different. The key difference is that all of the methods described above do not release the lock they are holding (if they are holding one) when they are blocked, while this pair of methods does the opposite.

内容来源: JackyAndroid/AndroidInterview-Q-A