We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
初看起来它们与 suspend() 和 resume() 方法对没有什么分别,但是事实上它们是截然不同的。区别的核心在于,前面叙述的所有方法,阻塞时都不会释放占用的锁(如果占用了的话),而这一对方法则相反。
这句话应该是 初看起来它们与wait()和notify()方法没有什么分别
这里写的给人感觉,好像是在特殊说明suspend和resume,但实际上后面发现是在说wait和notify
The text was updated successfully, but these errors were encountered:
No branches or pull requests
初看起来它们与 suspend() 和 resume() 方法对没有什么分别,但是事实上它们是截然不同的。区别的核心在于,前面叙述的所有方法,阻塞时都不会释放占用的锁(如果占用了的话),而这一对方法则相反。
这句话应该是
初看起来它们与wait()和notify()方法没有什么分别
这里写的给人感觉,好像是在特殊说明suspend和resume,但实际上后面发现是在说wait和notify
The text was updated successfully, but these errors were encountered: