添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

C11 Threads in Visual Studio 2022 version 17.8 Preview 2

Charlie Barto

Microsoft C++ Team at CppCon 2023
(image) As always our team will be at CppCon this year with a host of presentations. Many of us will also be present at our team’s booth in the main hall for the ...
Sy Brand
1 comment

I’ve been using C11 atomics for the next version of Box2D. They work well and I’m pleased Microsoft is adding more support for C concurrency. I’m also hoping to see C23 language features become available soon.

When do you expect `experimental:c11atomics` to no longer be required?

At the very least experimental:c11atomics will be required until we have fully implemented the locking atomics. We’ll stop defining __STDC_NO_ATOMICS__ at that time as well. I know that needing the flag and us still defining __STDC_NO_ATOMICS__ makes things harder to deal with for apps that don’t ever use locking atomics, but we didn’t want this standard feature testing macro to mean something special and different on MSVC.

I TOTALLY missed this and have been eagerly awaiting this announcement. I’ve been using the C11 atomics since day 1.

I’m a developer that totally dropped MSVC for years due to lack of C support and have only started using it again within the last year. I’ve been extremely happy with how much support has been added. I truly hope the new C23 stuff is also on the agenda!