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

Upstream TLS support #622

Open
jacob-hughes opened this issue Mar 12, 2024 · 2 comments
Open

Upstream TLS support #622

jacob-hughes opened this issue Mar 12, 2024 · 2 comments

Comments

@jacob-hughes
Copy link
Contributor

I noticed that you were interested in potentially upstreaming some changes I made in my own fork of BDWGC which enables compiler generated (i.e. non-POSIX) TLS support. This stuff is obviously highly non-portable and I doubt that it would work on anything other than x86_64 Linux. If that's ok with you, I'd be happy to tidy it up, ifdef it behind some build flags, and submit a PR?

Thanks!

@ivmai
Copy link
Owner

ivmai commented Mar 12, 2024

I think it is OK to add support just for linux x86_64, anyway there are many tls variants supported in bdwgc. Somewhere in bdwgc readme it is written that scanning pointers in tls is in todo list...

In low priority. Guarded with ifdef. No need to modify build scripts, just document the macro in README.macros.

@ivmai
Copy link
Owner

ivmai commented Mar 12, 2024

Probably Rust users might need it

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

No branches or pull requests

2 participants