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

Thread Local Storage #12

Open
dennwc opened this issue Jan 10, 2021 · 1 comment
Open

Thread Local Storage #12

dennwc opened this issue Jan 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@dennwc
Copy link
Contributor

dennwc commented Jan 10, 2021

cxgo doesn't support thread local storage yet.

We can emulate it by passing a *TLS object to all the functions that use it, and to all their callers, similar to how context.Context is passed in Go.

@dennwc dennwc added the enhancement New feature or request label Jan 10, 2021
@g41797
Copy link
Contributor

g41797 commented Apr 21, 2023

Goroutine local storage: https://github.com/jtolio/gls
Fast goroutine local storage:https://github.com/cosmos72/gls

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

No branches or pull requests

2 participants