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

Remove functions that depend on thread locals #33

Open
Astaelan opened this issue May 10, 2019 · 0 comments
Open

Remove functions that depend on thread locals #33

Astaelan opened this issue May 10, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@Astaelan
Copy link
Contributor

Remove or change any functions that depend on thread locals, such as ks_thr_sprintf which is not only unsafe but with thread locals can create all kinds of unintended side effects (as was seen in some libs like signalwire-c). Thread locals do not save CPU or memory in a tangible way given modern allocators.

@Astaelan Astaelan added the enhancement New feature or request label May 10, 2019
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

1 participant