-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Move enumerable_thread_specific Windows.h usage to cpp #576
base: master
Are you sure you want to change the base?
Conversation
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.
The patch raises two questions:
- Can it affect performance?
- Are we ready to pay maintenance cost for additional entry points?
Before answering above questions, can we consider the option to use processthreadsapi.h
(or fibersapi.h
with __TBB_WIN8UI_SUPPORT
)?
The
I'm not sure whether you're supposed to include If you would prefer that, I can also create a PR for using |
@Chronial is there any estimates or real measurements of build times reduction effect of this patch ? |
This change won't have a massive impact on our build times. In places where this is a serious issue, This is more about usability:
|
@alexey-katranov Is there anything I can do to move this forward? |
ping :) |
@pavelkumbrasev , I believe now it's your chance to review it :) |
Description
This change gets rid of the Windows.h include in the public
enumerable_thread_specific .h
by moving it a cpp.Fixes #573
Type of change
Tests
Documentation
Breaks backward compatibility