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

Incorrect includes in compat/condition_variable

andysem
New Contributor III
313 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-Kukanov
Employee
313 Views
A good catch! Thank you for informing about the issue. It will be fixed.
0 Kudos
Reply