13.Thread Synchronization Using CreateMutex & CreateThread API- WIndows System Programming in C/C++

preview_player
Показать описание
In This Tutorial, I have Synchronized the Thread using Mutex. We Know that Mutex provided lock for Thread.

NOTE - If you are not aware of How to CreateThread and CreateMutex then check my Video on CreateMutex and CreateThread.
Рекомендации по теме
Комментарии
Автор

Greetings from Russia. Even after all these years, your video is the only one on this topic

prorok_
Автор

Sir, after a month looking for a way to work using multithread your videos are the only solution on the entire Internet.
Very useful, well explained, simply brilliant.

Hoaxthegamerful
Автор

Wow your code is really organize, respect!

wilgeraleman
Автор

Awesome video sir....
Can u please make video of printing even and odd no using events
Also a video on thread safe singleton I am Trying to use lockguard for threadsafe but could not succeed ...
It will be great help...
Thanks for this awesome tutorials

amitpaunikar
Автор

I dont know why but the output is not synchronized on my machine. And its showing only until 6 when the while loop runs upto 10

ajaypolicepatil
Автор

WaitForSingleObject(hTh, INFINITE); first parameter hTh should be a handle to the thread right? why are you passing the handle to mutex?and where are you calling the CreateMutex api to create the mutex???

channakeshavab
Автор

How I do same program through " wait for multi object "

mubashirmasood
Автор

The video is really awesome, but please next time correct your errors straightaway. IT IS A PAIN IN THE ASS.

oleggubanov
visit shbcf.ru