Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
2412 Discussions

Incorrect includes in compat/condition_variable

andysem
New Contributor III
122 Views
I noticed that in the compat/condition_variable header there are #includes ofctime orsys/time.h headers within thetbb::interface5 namespace. I believe, including system headers within a namespace may break user's code in a non-obvious way, unless these headers are included prior tocompat/condition_variable. Could these includes be fixed?
0 Kudos
1 Reply
Alexey_K_Intel3
Employee
122 Views
A good catch! Thank you for informing about the issue. It will be fixed.
Reply