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
832 -
LIVE
Barry Cunningham
1 hour agoBREAKING NEWS: PRESIDENT TRUMP MEETS WITH COMMIE MAMDANI | AND MORE NEWS!
2,234 watching -
LIVE
LadyDesireeMusic
6 minutes agoLive Piano Music & Convo | Anti Brain Rot | Make Ladies Great Again | White Pill of the Day
18 watching -
LIVE
StoneMountain64
2 hours agoArc Raiders Making Money and LEVELING Up
55 watching -
LIVE
ReAnimateHer
4 hours agoNell’s Diner Is OPEN… For Your Final Meal
92 watching -
14:53
Neil McCoy-Ward
8 hours ago🇦🇺 Australian Censorship Chief SUMMONED For Questioning In USA!!! 🇺🇸
4525 -
LIVE
Badlands Media
14 hours agoMAHA News [11.21] CDC Changes Vaccine/Autism Website & Pharma Freaks, SNAP = Corporate Welfare
155 watching -
LIVE
The Jimmy Dore Show
10 minutes agoTrump Threatens to EXECUTE “Seditious” Dems! Mike Huckabee’s SECRET MEETING w/ Convicted Traitor!
695 watching -
1:23:31
DeVory Darkins
3 hours agoBRUTAL moment Jeffries HUMILIATED by CNBC host regarding Obamacare
155K57 -
1:03:10
The Quartering
3 hours agoThere's An OnlyFans For Pedos, SNAP Bombshell & Big Annoucement
27.6K35