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

是否有版本限制 #8

Open
JellyTony opened this issue Nov 27, 2024 · 7 comments
Open

是否有版本限制 #8

JellyTony opened this issue Nov 27, 2024 · 7 comments
Assignees

Comments

@JellyTony
Copy link

是否支持 go 1.18 以上版本,或者有低版本限制?

@JellyTony
Copy link
Author

是否支持子协程无限派生

@AsterDY
Copy link
Collaborator

AsterDY commented Nov 28, 2024

没有限制

@JellyTony
Copy link
Author

是否支持子协程无限派生

是否支持子协程无限派生

@JellyTony
Copy link
Author

没有限制

是否支持子协程无限派生

@AsterDY
Copy link
Collaborator

AsterDY commented Dec 2, 2024

支持的

@JellyTony
Copy link
Author

支持的

咋支持,是自动的,还是需要用包装函数?有关键代码吗??

@AsterDY
Copy link
Collaborator

AsterDY commented Dec 2, 2024

不需要。https://github.com/cloudwego/localsession/blob/main/stubs.go#L38 把gid当作pprof-label传递就行了。这块golang底层已经实现了父子协程继承

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

No branches or pull requests

2 participants