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

Add thread local storage API #866

Open
baylej opened this issue Dec 8, 2017 · 1 comment
Open

Add thread local storage API #866

baylej opened this issue Dec 8, 2017 · 1 comment

Comments

@baylej
Copy link

baylej commented Dec 8, 2017

I'd like to store per thread values, allegro does not expose such functionality from the underlying win32/pthread threading API.
Thanks.

@SiegeLord
Copy link
Member

It's a good idea. This would simplify some of the addon code that really wants thread local storage, but couldn't use it before. One question to resolve is whether to stash this inside Allegro's TLS state somehow or expose the raw TLS API.

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