I was happy to hear that C11 threads were finally implemented in Visual Studio 2022 version 17.8 Preview 2.
Unfortunately, while the DLLs are there, I'm unable to find the header anywhere. I installed Visual Studio with the default options for C++ development. I'm using the latest Preview (7) with Windows 11 SDK 10.0.22621.0.
Does anyone have any clue on how to enable them?
I'm answering my own question, just to let everyone know that they are aware of the problem:
https://developercommunity.visualstudio.com/t/Missing-threadsh-in-MSVC-178/10514752
UPDATE On December 7 2023, they updated the state of the issue to Fixed - Pending Release
, along with this message:
A fix for this issue has been internally implemented and is being prepared for release. We’ll update you once it becomes available for download.
UPDATE: On December 14 2023, as a workaround, they provided a link to this version of threads.h which works perfectly. The file is still missing in Version 17.9.0 Preview 2.1
UPDATE: On January 10 2024 the issue was promoted to Fixed In: Visual Studio 2022 version 17.8.4
. I can confirm that now everything is there as expected.