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

[C++] Make Headers multi-thread safe #132

Open
alexanderoster opened this issue Jul 28, 2020 · 0 comments
Open

[C++] Make Headers multi-thread safe #132

alexanderoster opened this issue Jul 28, 2020 · 0 comments

Comments

@alexanderoster
Copy link

Currently headers are not multi-thread-safe, and the calling application needs to take care on having the right multithread-behaviour.

A simple optional (?) option would be to introduce a header-mutex with a lockguard on each object. This introduces a memory overhead, but would make concurrent calls possible if they are on separate objects.

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

No branches or pull requests

1 participant