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
IsaiahLCarter
5 hours agoCharlie Kirk, American Martyr (with Mikale Olson) || APOSTATE RADIO 028
72 watching -
1:35:39
SB Mowing
2 days agoIt took the WHOLE NEIGHBORHOOD to uncover this yards SHOCKING SECRET
73.3K58 -
12:52
ROSE UNPLUGGED
22 hours agoFrom Vision to Legacy: Charlie Kirk
45.8K19 -
1:14:22
Jeff Ahern
6 hours ago $10.58 earnedThe Sunday Show with Jeff Ahern
70.8K28 -
16:37
Professor Nez
7 hours ago🚨Internet MELTS DOWN over JD Vance & Trump BREAKING the Democrats!
64.8K174 -
18:40
itsSeanDaniel
8 hours agoPiers Morgan CALLED OUT and HUMILIATED by Andrew Tate
73K279 -
DVR
Times Now World
2 days agoLIVE: "ON CAM: How the Charlie Kirk Shooter ESCAPED – Shocking New Footage Revealed!"
86.7K16 -
1:45:51
Game On!
1 day ago $11.54 earnedWise Guys Reveal NFL Week 2 BEST BETS Now
100K8 -
26:57
Robbi On The Record
2 days agoMouth Breathing Is Why You’re Exhausted | with Dr. Melanie Silvestrini
73.1K7