-
Notifications
You must be signed in to change notification settings - Fork 36
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
Switched to BufferedLockedHeap #8
base: master
Are you sure you want to change the base?
Conversation
Please add BufferedLockedHeap to this PR, removing it from Heap-Layers. Thanks! |
#include <mutex> | ||
#include <cstddef> | ||
|
||
#ifndef thread_local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a nice way to identify thread local stuff across platforms, and one that should probably be factored out into a more generic include. Have you tested it with Windows, etc.?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have only tested it on Linux. See https://stackoverflow.com/a/18298965/3307716
No description provided.