-
Best selling package -
Selected Package -
Popularity package -
Exclusive package -
High salary package
-
Course Introduction -
Course outline
-
Understand the principle of threads -
Learn the multithreading programming of c++11 -
Learn the principle of thread pool and be able to implement thread pool manually -
Learn the new features related to multithreading of c++11 14 17 20
Development tools used in the course The development tool used in the course is vs2019 Whether the course code is cross platform The course code is based on c++self generated features, without the use of third-party libraries, and is cross platform Whether the old version of development tools can Most of the code in the course is c++11, and most of the development tools support it. Among them, c++14 17 requires relatively new tool support, and c++20 requires vs2019 Whether the course provides source code The course provides source code to facilitate students to debug errors against problems in the learning process.
Chapter 1 C++11 Multithreading Quick Start (1 hour and 26 minutes Section 8) 1-2 Why to use multithreading_first thread code example Why to use multithreading_first thread code example "Only for paying users" Click to download "1 Why use multithreading _ first thread code example. zip" [13:19] Start learning 1-3 Thread object life cycle and thread waiting and separation Thread object life cycle and thread waiting and separation "Only for paying users" Click to download "2thread object life cycle and thread waiting and separating. zip" [11:38] Start learning 1-4 Global function as thread entry analysis parameter passes memory operation Global function as thread entry analysis parameter passes memory operation [Only for paying users] Click to download "3 Global function as thread entry analysis parameter to transfer memory operation. zip" [11:10] Start learning 1-5 Thread function passes pointer and reference Thread function passes pointer and reference Click "Only for paying users" to download "4-thread function transfer pointer and reference. zip" [10:32] Start learning 1-6 Use member function as thread entry and encapsulate thread base class interface Use member function as thread entry and encapsulate thread base class interface "Only for paying users" Click to download "5 Use member functions as thread entry and encapsulate thread base class interface. zip" [19:20] Start learning 1-7 Lambda temporary function as thread entry Lambda temporary function as thread entry [Only for paying users] Click to download "6lambda temporary function as thread entry. zip" [07:25] Start learning 1-8 Call_once Multi thread calling function only enters once Call_once Multi thread calling function only enters once Click "Only for paying users" to download "37call_once multi-threaded calling function only enters. zip once" [06:06] Start learning Chapter 2 Multithreaded communication and locking (53 minutes 5 sections) 2-1 Analysis of multithreading state and its switching process Analysis of multithreading state and its switching process [07:01] Start learning 2-2 Introduction to the competition state and critical area _ mutex code demonstration Introduction to the competition state and critical area _ mutex code demonstration "Only for paying users" Click to download "8 Introduction to competition status and critical area _ mutex code demonstration. zip" [09:55] Start learning 2-3 The cause and solution of the pit_thread preemption failure of the mutex The cause and solution of the pit_thread preemption failure of the mutex "Only for paying users" Click to download "9. The pit of mutex _ causes and solutions for thread preemption failure. zip" [08:11] Start learning 2-4 Timeout locks timed_mutex and reentrant locks recursive Timeout lock timed_mutex and reentrant lock recursive _mutex "Only for paying users" click to download "10 timeout locks timed_mutex and reentrant locks recursive _mutex. zip" [15:53] Start learning 2-5 Shared lock shared_mutex solves the read/write problem Shared lock shared_mutex solves the read/write problem [Only for paying users] Click to download "11 Shared lock shared_mutex to solve read-write problems. zip" [12:04] Start learning Chapter 3 Lock resource management and condition variables (1 hour 50 minutes Section 9) 3-1 Manually realize RAII management mutex resource _ lock automatic release Manually realize RAII management mutex resource _ lock automatic release 「 Only for paying users 」 Click to download 「 12 Manually realize RAII management mutex resource_automatic lock release. zip 」 [08:46] Start learning 3-2 C++11RAII control lock_guard C++11RAII control lock_guard [Only for paying users] Click to download "13c++11RAII control lock lock_guard. zip" [10:42] Start learning 3-3 Unique_lock can temporarily unlock the mutex wrapper that controls timeout Unique_lock can temporarily unlock the mutex wrapper that controls timeout "Only for paying users" Click to download "14unique_lock to temporarily unlock the mutex wrapper with timeout control. zip" [12:25] Start learning 3-4 C++14shared_lock shared lock wrapper C++14shared_lock shared lock wrapper [Only for paying users] Click to download "15 C++14shared_lock shared lock wrapper. zip" [04:48] Start learning 3-5 C++17scoped_lock solves the deadlock problem caused by the interlock C++17scoped_lock solves the deadlock problem caused by the interlock "Only for paying users" Click to download "16c++17scoped_lock to solve the deadlock caused by the interlock. zip" [13:14] Start learning 3-6 Project case thread communication uses mutex and list to realize thread communication Project case thread communication uses mutex and list to realize thread communication "Only for paying users" Click to download "17 Project Case Thread Communication Use Mutex Lock and List to Realize Thread Communication. zip" [21:55] Start learning 3-7 Conditional variable application scenario _ producer consumer signal processing steps Conditional variable application scenario _ producer consumer signal processing steps [12:16] Start learning