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
3 years ago
13
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...
-
LIVE
Barry Cunningham
9 hours agoWATCH TRUMP RALLY LIVE: PRESIDENT TRUMP MARKS 100 DAYS IN OFFICE WITH A RALLY IN MICHIGAN
897 watching -
12:24
Tundra Tactical
1 hour agoThe SIG Roast to ND Them All
253 -
1:32:44
Badlands Media
9 hours agoBadlands Media Special Coverage: President Trump's 1st 100 Days Rally
20.9K2 -
LIVE
RalliedLIVE
4 hours ago $0.25 earnedWarzone All Night w/ Ral
95 watching -
49:12
Sarah Westall
2 hours agoA Globalist Agenda or Chinese Payback? Fentanyl #1 Cause of Death for People Under 49
2.41K1 -
LFA TV
23 hours ago| TRUMPET DAILY 4.29.25 7PM
3.05K -
16:12
T-SPLY
9 hours agoJeff Bezos Is Now Enemy #1 For The Trump Administration
46.4K45 -
7:27
China Uncensored
8 hours agoChina’s DISTURBING Expansion in Africa
8.78K11 -
1:24:27
Redacted News
4 hours agoELECTION SHOCK! Canada Declares War on U.S. and Trump, India going to war with Pakistan? | Redacted
126K236 -
1:18:53
vivafrei
7 hours agoCanada Elected a Globalist, WEF, 3-Passport-Carrying Manchurian Candidate! And Other News! Viva Frei
78.5K129