No video

What is Mutex in C++ (Multithreading for Beginners)

  Рет қаралды 42,524

CodeBeauty

CodeBeauty

Күн бұрын

Пікірлер: 86
@CodeBeauty
@CodeBeauty Жыл бұрын
📚 Learn programming with these Free E-Books ⬇ C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook 🚀📈💻🔥 My Practical Programming Course: www.codebeautyacademy.com/ 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. Code: #include #include #include using namespace std; mutex carMutex; void driveCar(string driverName) { //lock_guard carLock(carMutex); unique_lock carLock(carMutex); cout
@MrRohitChauhan1
@MrRohitChauhan1 10 ай бұрын
Hi, In one of your videos "Build your first multithreaded application - Introduction to multithreading in modern C++" how its running thread without using join() function
@raghulbalaji8226
@raghulbalaji8226 7 ай бұрын
threading is not working mam for c++ in vscode
@raghulbalaji8226
@raghulbalaji8226 7 ай бұрын
if declare the thread keyword , then it shows that thread is undefined even after declaring the thread header file in c++ program. Please give any solutions to this problem mam
@carmelostagno6352
@carmelostagno6352 Жыл бұрын
I think it will be another pill of knowledge to improve our study about C++. Thanks Saldina for all!
@christopherrice891
@christopherrice891 Жыл бұрын
I watch a lot of Saldina's older C++ coding videos and she used to wear a Bat-Man t-shirt quite often. I wonder whatever became of that Bat-Man t-shirt🤔🤨?
@AhFeiLee
@AhFeiLee 9 ай бұрын
probably wore out
@amelccc
@amelccc Жыл бұрын
great explanation, very simplified, thanks
@codeoasis1180
@codeoasis1180 Жыл бұрын
Great video as always, thank you 👍
@user-lu6kv9kr8u
@user-lu6kv9kr8u Жыл бұрын
you made yet another complex topic very easy to understand, thank you
@hsngraphics8228
@hsngraphics8228 11 ай бұрын
I've been watching your videos for a while now, and I'm pleasantly surprised that you don't include any ads on your channel. It really highlights your dedication to education. We're eagerly anticipating your upcoming programming course!
@phoebewell3653
@phoebewell3653 Жыл бұрын
The best teacher of all times! 🔥🔥🔥
@milkamilkica1935
@milkamilkica1935 Жыл бұрын
thank you for this video Saldina
@user-sw8bq1rk9c
@user-sw8bq1rk9c Жыл бұрын
been looking for this, great :D
@deanmorrison6254
@deanmorrison6254 Жыл бұрын
excelent as always
@woodperfekt
@woodperfekt 10 ай бұрын
Your method of instruction is really good. First explaining the concept then directly followed by an example implementing the concept. Thanks for your videos.
@fixnemlacika
@fixnemlacika 9 ай бұрын
I would really like to see a C# series, it would be really helpful with your teaching style!!
@marym9003
@marym9003 Жыл бұрын
I watched your video about multithreading, and I was hoping that you will publish more videos about that topic. Thanks Saldina ❤
@anon-fz2bo
@anon-fz2bo Жыл бұрын
im not a beginner but i was once & honestly its so much easier to learn programming when u actually understand whats happening. for example, u shd state that the namespace this_thread is defined in the header and so is chrono. sleep_for can then be considered a function and not a static method of the class this_thread. chrono::seconds can also be considered a function although im assuming its actually an explicit constructor or a basic constructor that takes in an int & returns and instance of seconds. only thing i didnt know was the stuff about mutex, so thanks. its better to specify what exactly is happening as apposed to simply expecting that people just copy ur code.
@OgunsolaMercy-du9if
@OgunsolaMercy-du9if Жыл бұрын
I tried searching for a particular string in a file but all to no avail. Please any help
@PenseBaixoNivel
@PenseBaixoNivel 8 ай бұрын
Thanks, You improved my life 1000 percent Saldina!
@CodeBeauty
@CodeBeauty 8 ай бұрын
I'm so glad to hear that! Just work hard and your life will change completely, anything is possible! ❤️
@martinalcala4823
@martinalcala4823 26 күн бұрын
Such a beauty, and also the c++! New sub!
@CodeBeauty
@CodeBeauty 26 күн бұрын
Thanks, welcome 🥰🥰
@yazenyazen4372
@yazenyazen4372 7 ай бұрын
Yes we like topics like determine big o and asynchronous Thank you so much
@mertsecen1136
@mertsecen1136 Жыл бұрын
my final was 3 days ago i wish u uploaded this sooner lol
@1tav0
@1tav0 9 ай бұрын
awesome video i was scared of threads up until i came to your channel. You explain everything so well and its so easy to follow thank you !!!
@san-joshuabarrett
@san-joshuabarrett 8 ай бұрын
You always remind me of Nadia from American Pie for some reason. I like it 🤠
@joshualloyd6694
@joshualloyd6694 10 ай бұрын
Amazing and simple to understand thankyou!
@ignacionr
@ignacionr Жыл бұрын
You say "mutex is a term related to threading in C++" and you got the first part right. The problem is that it is not really a C++ concept, but in general a threading concept that is pretty much used on every programming language that deals with a scheduler, including at least C#, C, Java, Delphi, Visual Basic, etc.
@hilgicamala2520
@hilgicamala2520 Жыл бұрын
suuuper explanation
@lsnlst1725
@lsnlst1725 8 ай бұрын
Always the best youtube C++ performer! Thank Saldina!
@ferfykins
@ferfykins 10 ай бұрын
Any chance you could make a video on why we should choose C++ over other languages?
@MarcsYoutube
@MarcsYoutube Жыл бұрын
Instead of using std::endl, I'd use " " instead. std::endl causes flushing of the output buffer each time it is called, whereas using the newline character does not, which should make it slightly more efficient.
@gustavo9758
@gustavo9758 7 ай бұрын
CodeBeauty is on point, both for the code and the coder!
@CodeBeauty
@CodeBeauty 7 ай бұрын
🥰🥰
@mini-moose
@mini-moose Жыл бұрын
Hopefully she’s wearing something from my childhood like back to the future gear or something
@jakkdlaw
@jakkdlaw Жыл бұрын
Did I miss something?
@uccoskun
@uccoskun 7 ай бұрын
impressively clear instructions...
@shahnur13
@shahnur13 Жыл бұрын
Even unique_lock works without manually unlocking as mentioned in line 13. The mutex object automatically gets unlocked on end of scope.
@l.p.1967
@l.p.1967 Жыл бұрын
great video, thanks
@bartoszskowronski
@bartoszskowronski 11 ай бұрын
Great video. what next? I vote for shared memory between separate programs with using because 1 only one program needs to write data, but another 3 programs need only to read.
@Bombastic0013
@Bombastic0013 2 ай бұрын
Hello, i don't understand why the endl in your code is not effective at 5:50 and it is later...
@woodperfekt
@woodperfekt 10 ай бұрын
Hi, Please make a video about writing & reading from the serial port :) ... ..... when you have the time ... thanks
@2alearning115
@2alearning115 10 ай бұрын
Hello Saldina, can u please make a video on " how to access hardware like camera, microphone etc." And how capture image Using c++
@Igor-my6ml
@Igor-my6ml 10 ай бұрын
Beautiful and smart, everything opposite of me.
@TRY-dm3bd
@TRY-dm3bd 7 ай бұрын
Hello can make tutorial about c programming
@nevram0101
@nevram0101 Жыл бұрын
What syntax use in embedded C++
@lindelanitshikalange7537
@lindelanitshikalange7537 11 ай бұрын
Hi ...can you please do a tutorial on Huffman coding
@VastavPansuriya
@VastavPansuriya 8 ай бұрын
What is iterator, i want to learn and from learning from text format is nightmare can you explain?
@talha_coding_tutor
@talha_coding_tutor 4 ай бұрын
Saldina I Want To Create A Query-Based CLI Calculator in C++ that takes batch input using a vector of string and extract numbers and operators using sstream ,,, please guide me !.
@mrsunshine268
@mrsunshine268 9 ай бұрын
Is the course not launched yet?
@punjita810
@punjita810 11 ай бұрын
hi can you make mini video of how i can play a c++ code writed on vs code directly on cmd throw vs studio play button. like you opp c++ video
@PawelManU7
@PawelManU7 Жыл бұрын
is it possible to record something about Boost library? There is plenty materials about STL but actually there is lack about Boost
@carmelostagno6352
@carmelostagno6352 10 ай бұрын
I am eagerly waiting for your future course. Missing a lot?
@CodeBeauty
@CodeBeauty 10 ай бұрын
I've pretty much wrapped up my part of the work and created a programming course that will take you from beginner to expert level! Now, it's in the hands of others to handle the company setup, establish the right processes and structures, ensure that everything runs smoothly and that it complies with the law and best practices, so that course is available to everyone around the world, I don't have experience with this bureaucratic aspect of the work unfortunately, otherwise, I'd work day and nigh to establish it asap. So, all I can do at this point is wait, but since I'm not a big fan of waiting, I'm making the most of this downtime by refining everything and adding even more top-notch material to the course. 😊
@carmelostagno6352
@carmelostagno6352 10 ай бұрын
@@CodeBeauty Thank you very much. I appreciate your response and wish you fruitful work for an excellent result.
@mattiamarchese6316
@mattiamarchese6316 11 ай бұрын
You're the most Indian youtuber among the Russian youtubers.
@kumaresantanja6152
@kumaresantanja6152 11 ай бұрын
Also explain cpp 11 topics
@kateranks9755
@kateranks9755 Жыл бұрын
Please teach on how to build a webbrowser in c++
@ferfykins
@ferfykins 10 ай бұрын
Do you make videos on python or java?
@kardohirany
@kardohirany Жыл бұрын
❤❤❤❤❤
@PenseBaixoNivel
@PenseBaixoNivel 7 ай бұрын
Saldina,Why do you think, that Linus Torvalds didn't choose C++ for the Linux kernel?
@CodeBeauty
@CodeBeauty 7 ай бұрын
Lover levew control of the system 😄
@PenseBaixoNivel
@PenseBaixoNivel 7 ай бұрын
@@CodeBeauty I'm learning a Assembly now... with one youtuber brazillian Called Fernando Anselmo (he is so great teacher too) ^^
@vvkbees6473
@vvkbees6473 4 ай бұрын
😻
@johnxina7496
@johnxina7496 7 ай бұрын
did you stop uploading?
@user-li2ui9yf2g
@user-li2ui9yf2g 10 ай бұрын
請問以後有問題的話可以請教妳嗎?!
@tuazulyrojoeljean
@tuazulyrojoeljean 8 ай бұрын
So, where is she? It's been 3 months, I thought she was about to launch a new course
@hsngraphics8228
@hsngraphics8228 11 ай бұрын
The reason for limited leads on your channel might be due to KZfaq's algorithm, which favors frequent video uploads.
@eyesopen6110
@eyesopen6110 Ай бұрын
scoped_lock
@rezahajivand7498
@rezahajivand7498 10 ай бұрын
Hello 🎉🎉🎉🎉🎉
@Secret-tp6jl
@Secret-tp6jl 10 ай бұрын
red lipstick suits you
@wilgarcia1
@wilgarcia1 Жыл бұрын
😍😍😍😍😍😍
@user-zx2wq5gs5y
@user-zx2wq5gs5y Жыл бұрын
I dont understand procedural programming
@roelandriemens
@roelandriemens Жыл бұрын
I think Elon has more than enough cars 🤓
@aiyohwashereduh
@aiyohwashereduh 10 ай бұрын
I can't, for the life of me, understand why anyone would have a facecam on a programming tutorial video 💀💀
@kitcat2449
@kitcat2449 7 ай бұрын
Some add it to make the tutorial seem more interesting, like Phillip Lackner (does mostly Kotlin tutorials.) Seeing the person explaining the theory can help you to focus and understand things better, it tends to feel more natural. Most people in class usually look at their teachers when they are talking but not showing anything on the board. Our zoom classes had cameras on for the same reason.
@Aki-iw3qp
@Aki-iw3qp 8 ай бұрын
Saldina iz Bosne.?
@Marek-MAROGO
@Marek-MAROGO Жыл бұрын
I have question: is Elon your boyfriend?😁
SMART POINTERS in C++ (for beginners in 20 minutes)
24:32
CodeBeauty
Рет қаралды 98 М.
Fortunately, Ultraman protects me  #shorts #ultraman #ultramantiga #liveaction
00:10
Ik Heb Aardbeien Gemaakt Van Kip🍓🐔😋
00:41
Cool Tool SHORTS Netherlands
Рет қаралды 9 МЛН
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 9 МЛН
Mutex VS Semaphore In C++
7:17
CppNuts
Рет қаралды 13 М.
Why Function Pointers are Awesome
11:11
Jacob Beningo
Рет қаралды 6 М.
Object Oriented Programming (OOP) in C++ Course
1:30:26
freeCodeCamp.org
Рет қаралды 2,5 МЛН
What are header files in C++ ( PROGRAMMING TUTORIAL for beginners)
23:54
It's time for change, it's time for Linux.
10:53
DankPods
Рет қаралды 374 М.
Make Beautiful Desktop Applications in C++
25:51
The Cherno
Рет қаралды 568 М.
Fortunately, Ultraman protects me  #shorts #ultraman #ultramantiga #liveaction
00:10