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
822 -
LIVE
The Chris Salcedo Show
12 hours agoDems Win In Dem States...And They Celebrate?
662 watching -
1:04:43
Crypto Power Hour
10 hours ago $0.03 earnedPsychology Of Crypto Market Cycles
28.3K6 -
9:58
Clintonjaws
12 days ago $0.11 earnedKaroline Leavitt's Response To 'The View' Host's Nasty Attacks Is Perfect
12.2K13 -
24:23
World2Briggs
20 hours ago $0.01 earnedTop 10 Towns You Can Retire on $1900 a month in the Pacific North West.
18.6K8 -
21:23
Lady Decade
16 hours ago $0.03 earnedThe Lost Sega Neptune Console Refuses To Die !
14.3K4 -
17:14
ThinkStory
22 hours agoIT: WELCOME TO DERRY Episode 2 Breakdown, Theories, & Details You Missed!
13.2K -
17:25
Real Estate
1 month agoThe Job Market Collapse IS HERE
14.7K12 -
2:04:54
BEK TV
1 day agoTrent Loos in the Morning - 11/05/2025
11.6K1 -
LIVE
The Bubba Army
23 hours agoUPS PLANE EXPLODES - What Went Wrong? - Bubba the Love Sponge® Show | 11/05/25
1,141 watching