Skip to content
New issue

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

在example_echosvr示例中多进程共享的栈g_readwrite为什么不需要加进程锁 #201

Open
oscaryao opened this issue Mar 3, 2023 · 0 comments

Comments

@oscaryao
Copy link

oscaryao commented Mar 3, 2023

请问 在example_echosvr示例中多进程共享的栈g_readwrite为什么不需要加进程锁? 子进程的push后会挂起,主进程top后才唤起子进程,但是stack的push和top应该应该也会有抢占的隐患吧!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant