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 -
LIVE
Akademiks
4 hours agoCardi B is Pregnant! WERE IS WHAM????? Charlie Kirk fallout. Bro did D4VID MURK A 16 YR OLD GIRL?
1,283 watching -
Barry Cunningham
3 hours agoPRESIDENT TRUMP HAS 2 INTERVIEWS | AND MORE PROOF THE GAME HAS CHANGED!
44.9K23 -
1:20:27
Glenn Greenwald
4 hours agoLee Fang Answers Your Questions on Charlie Kirk Assassination Fallout; Hate Speech Crackdowns, and More; Plus: "Why Superhuman AI Would Kill Us All" With Author Nate Soares | SYSTEM UPDATE #518
49.4K22 -
1:03:06
BonginoReport
5 hours agoLyin’ Jimmy Kimmel Faces The Music - Nightly Scroll w/ Hayley Caronia (Ep.137)
99.8K48 -
55:40
Donald Trump Jr.
8 hours agoThe Warrior Ethos & America's Mission, Interview with Harpoon Ventures Founder Larsen Jensen | Triggered Ep275
49.7K52 -
1:12:08
TheCrucible
4 hours agoThe Extravaganza! EP: 39 (9/18/25)
112K14 -
1:21:41
Kim Iversen
6 hours agoNick Fuentes Denies Israel Killed Charlie Kirk | Right-Wing CANCELS Jimmy Kimmel
44.3K209 -
1:01:59
Candace Show Podcast
4 hours agoEXCLUSIVE! Another Photo Of Tyler Robinson | Candace Ep 238
100K335 -
2:21:09
Redacted News
5 hours agoWhat are they hiding? New video evidence in Charlie Kirk's Shooting SHAKES FBI'S case | Redacted
160K334