Build your first multithreaded application - Introduction to multithreading in modern C++

preview_player
Показать описание
📚 Learn how to solve problems and build projects with these Free E-Books ⬇️

Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.

I use it to enhance the performance, features, and support for C, C#, and C++ development in Visual Studio.
It is a powerful, secure text editor designed specifically for programmers.

This video is an introduction to multithreading in modern C++. You will learn what is multi-threading, why is it important, what kind of problems can we solve with multithreading. I'll also explain the difference between multithreading and multitasking, and give you a real-life example of multithreading use.
This video contains everything you need to know to learn and start working with threads in modern C++, even if you are a complete beginner.
It is a step-by-step tutorial that starts with basic multithreading concepts, but it also encompasses some of the more advanced concepts as well.

However, please don't feel obligated to do so. I appreciate every one of you, and I will continue to share valuable content with you regardless of whether you choose to support me in this way. Thank you for being part of the Code Beauty community! ❤️😇

Contents:
00:00 - What will you learn in this course?
00:40 - History of multithreading in C++
01:24 - What is multithreading
01:39 - Multitasking vs multithreading
03:49 - Singlethreaded vs Multithreaded application
08:44 - How to pass a parameter to a thread function
10:10 - Build your first multithreaded application
21:04 - Problem with multithreading

Follow me on other platforms:
Рекомендации по теме
Комментарии
Автор

📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.

CodeBeauty
Автор

The only youtuber who teaches modern C++ in the best way possible.

muhammad.hameem
Автор

*The syntax for threads is thread threadName(functionName);
*You are basically giving the thread a function pointer.
*You need 'system("pause>nul");' rather than 'return 0;' so that your program doesn't have a runtime error.
*The easiest way to have your thread update every X unit of time is to do:

using namespace std::chrono_literals;
using namespace std::this_thread;

//and then use the sleep_for(time literal);




Great video!

patrickmayer
Автор

This is the clearest explanation of multithreading I've found, thank you so much!!

ian_snyder
Автор

I am an old programmer that did this kind of thing in 8bit assembler (6800/6809). In order to debug C++ code of younger people I switched to an assembler view. Having said that I have to admit you did a very good explanation, simplifying while explaining all relevant details that I did think of. Good work!

wora
Автор

You're doing great. I went through hundreds of tutorials but none of those taught any practical applications of C++. Building something using a language helps the learning process exciting. I appreciate your effort, ma'am and look forward to seeing a lot more exciting projects soon.

sabbirahmed
Автор

Hello Saldina. it is great that you are taking the time to bring up these problems, and then explain them to us. Because above all else I want to become a great programmer just like you. So please continue doing what you are doing. I..., We need that knowledge. While you are teaching us these things you are reinforcing what you already know. Thus you gain two benefits: the joy of helping us to become great programmers, and certification that what you think that you know is actually what you know for sure. Thank you, Reggie

reggiedaniels
Автор

wow, i was very confused in class when my teacher was explaining this, and now its cristal clear 👏👏👏 brava ❤❤❤

dundyd
Автор

I actually came to your channel to see how to use multithreading using C++ in Visual Studio IDE. However, the way you described multithreading using the '+' and '-' characters was really "Thinking outside the box". I really liked your perspective. I'll also use your method to teach other people about multithreading as it would really help them visualize multithreading more. Thank you!

abelashenafi
Автор

Awesome and mindblowing!! I have never seen such an understandable and clear explanation about multithreading. One senses that you simply know exactly what you are talking about. This is my channel from now on when it comes to C++ and programming in general. Thanks a lot for this brilliant channel!!!

technicalpublishing
Автор

Amazing video! I just landed my first C++ software developer job and I am trying to fill the gaps that I had during the interview. You explained it exceptionally. Thank you!

vladleustean
Автор

21:20 Chorono Literals 🤣😆 Thank you saldina for that great video! I just learn so much of your videos, more than i could learn in the entire internet. Keep going!!!

papiermuecke
Автор

Your videos are getting me through my classes. You deserve more than a few coffees. Thank you!

silque
Автор

Love your channel! And also, when I saw you have this multithreading video... I got excited!

CarlosSamuelGlezJB
Автор

Dovoljno je samo reći: ODLIČNO! Jako dobro i kristalno jasno objašnjenje. Definitivno se vežem za ovaj kanal. Pozdrav iz Tuzle.

denisceke
Автор

The practical example here was super useful. I definitely find it useful when you explain the problem with certain implementations or techniques, as well. Thank you so much!

Kaznerh
Автор

Eagerly waiting🎉 and kindly do upload more topics of DATA STRUCTURES🧑‍💻. It will be very helpful❤️😊

elprofesor
Автор

Such a great video i ever seen about multi-thread.
I love this.
Thank you very much, Saldina

russellvn
Автор

Thanks You For Such an Ingenious, Creative Presentation; You Are My Favorite Channel Here On The "Tube" ~
Love What you Are Doing, Please NEVER Stop ~

trtlphnx
Автор

Awesome! With my bad English I understood all in this lesson.
Saldina explains very clearly.

ordinary_man_