Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.

C++ Thread Tutorial - Command Queue | C++ in 2021
4 years ago
15
In this lesson, I introduce the C++ standard thread library by showing you how you can build a concurrent queue system.
We'll build upon this queue system in future lessons to achieve a multiple thread queue with thread pools and data sharing.
C++ in 2021 Github:
https://github.com/mauville-technologies/cppin2021/releases/tag/tutorial-05
Reference Material:
C++ Concurrency in Action: https://amzn.to/3iuSGLd
Chapters:
0:00 Intro
1:10 Github Repo
1:50 TaskManager Module Interface
4:50 Main Command Loop
11:35 std::thread basics
18:05 Implementing the Command Queue
31:00 Closing a thread / RAII
34:10 Joining threads ( Learning as we go )
39:50 Demonstrating the Queue concurrency
42:00 Detaching Threads + Daemon Threads ( + live experimentation)
Loading comments...
-
1:37:39
Ozzadar - Game Development
3 years agoVulkan Vertex + Index Buffers | Cross Platform Game Engine Development
792 -
12:46
RTT: Guns & Gear
5 hours agoThis Might Be the Best .45 Cal Suppressor: Anechoic Suppressors AnechoX 45L
45 -
LIVE
Matt Kohrs
11 hours agoLive Day Trading: Ripping Higher || Stock Market Open
568 watching -
LIVE
Wendy Bell Radio
5 hours agoWorse Than Watergate
7,763 watching -
LIVE
Barry Cunningham
1 hour agoMUST SEE LIVE: PAM BONDI SENATE HEARING!
1,309 watching -
LIVE
LFA TV
12 hours agoLIVE & BREAKING NEWS! | TUESDAY 10/7/25
2,544 watching -
1:01:26
Chad Prather
14 hours agoTake Away the Stone: When Faith Meets the Impossible
24.7K19 -
24:26
Tucker Carlson
16 hours agoThe 9/11 Files: They Could Have Stopped It | Ep 3
62.9K54 -
1:56:47
The Chris Salcedo Show
12 hours ago $2.61 earnedIt's Time Justice Was Served
13K3 -
DVR
Welcome to the Rebellion Podcast
13 hours ago $1.02 earnedWelcome to the Rebellion Podcast Live 10/7
13.3K