![]() ![]() All of these are implemented in Visual Studio version 17.8 Preview 2. The implementations are distinct, however, for example you can’t use the C11 mutexes with C++ condition variables.Ĭ11 contains support for threads and a variety of related concurrency primitives including mutexes, condition variables, and thread specific storage. Both are implemented in terms of the primitives provided by Windows, so their usage can be mixed in the same program and on the same thread. Unlike C11 atomics, C11 threads do not share an ABI with C++’s facilities, but C++ programs can include the C11 threads header and call the functions just like any C program. This should make it easier to port cross-platform C applications to Windows, without having to drag along a threading compatibility layer. We are happy to announce that support for the other major concurrency feature of C11, threads, is available in Visual Studio version 17.8 Preview 2. Back in Visual Studio 2022 version 17.5 Microsoft Visual C gained preliminary support for C11 atomics. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |