Open main menu

CDOT Wiki β

Changes

GPU621/NoName

314 bytes added, 00:17, 3 December 2016
What are C++ 11 Threads
===What are C++ 11 Threads===
With the introduction of C++ 11, there were major changes and additions made to the C++ Standard libraries. One of the most significant changes was the inclusion of multi-threading libraries. Before C++ 11 in order to implement multi-threading, external libraries or language extensions such as OpenMp was required. Not only the standard library now include support for multi-threading, it also offered synchronization and thread safety. Two options were offered for multi-threading,Synchronous threading via std::thread and Asynchronous threading via std::async and std::future.Synchronous threading and Asynchronous threading  
The C++ 11 thread support library includes these 4 files to enable multi-threading