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
pmon/pmon.go
Line 76 in c7d959a
Line 33 in c7d959a
The text was updated successfully, but these errors were encountered:
这两处代码是配合使用的,目的是当所有的协程都退出后主程序才退出,算是一个常用实践。 从目前monitorProcess函数的逻辑代码表面看,确实不会出现协程退出的情况,但是后续有可能会添加异常退出的代码,因此这两处逻辑不可以删除。
Sorry, something went wrong.
No branches or pull requests
pmon/pmon.go
Line 76 in c7d959a
这行代码似乎永远也不会执行,所以是不是可以删除
pmon/pmon.go
Line 33 in c7d959a
这个也是在循环的第一次的时候就阻塞了,然后程序就永远都不会退出(这是你们的目的)
The text was updated successfully, but these errors were encountered: