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

请教一下关于alt stack的问题 #1

Open
x-lambda opened this issue Dec 17, 2021 · 1 comment
Open

请教一下关于alt stack的问题 #1

x-lambda opened this issue Dec 17, 2021 · 1 comment

Comments

@x-lambda
Copy link

hi,我看到代码里有提到alt stack,不是很了解,可以帮忙科普一下吗?

@fengyoulin
Copy link
Owner

hi,我看到代码里有提到alt stack,不是很了解,可以帮忙科普一下吗?

协程栈是动态分配的,用到时才分配。已分配的页面用尽时,无法在当前的栈上处理信号。
https://man7.org/linux/man-pages/man2/sigaltstack.2.html

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

2 participants