Thank you bhaiya from this video I got to know about the concept of multithreading and how threads are helpful to achieve parallelism which increases the responsiveness of the system. Also the interesting concept int this video was of how like processes havetheir PCB, threads have their TCB(Thread Control Block).
00:05 Introduction to concurrency and multithreading in operating systems. 02:39 Concurrency allows execution of multiple instructions simultaneously using threads. 06:21 Concurrency enhances efficiency by enabling parallel task execution using multiple threads. 09:41 Threads utilize TCB for scheduling and execution efficiency. 12:51 Multi-threading enhances responsiveness and parallelism in CPU usage. 16:05 Concurrency with threads improves efficiency and resource sharing in multi-core CPUs. 19:02 Concurrency improves execution speed and responsiveness using multi-threading. 21:44 Understanding thread execution and synchronization in C++ multi-threading.
BHAIYA MAZZA AA GYA, KYA LECTURE THA! agla lecture bhi release krdo please, I wanna know more about multithreading and coding it hands-on and all the cool stuff that we may be able to do with this 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
For people facing issues with the code, ask gpt, or to give a summary, unistd acts as an API for the os of unix systems. For windows, you will have to use Windows.h, with Sleep() instead of sleep(). where Sleep treats time arguments as milliseconds
Hello Lakshay Bhayya!!!! I am following this course since two weeks. I have lot of interest in threading and other releted funtions of it. I want to practice the threading. Currently I am using VS code on my laptop. But this threading releated codes are not running. Can u tell me how you setuped the pthread or thread libary in vs code. It so much useful for me if u replyed me. Egarly waiting for your response...
Let's say if I have 4 processes and 4 cores then won't all these 4 processes would be working parallely in each core? Or will every process be executed serially and this process will use threads to utilise all the present cores?
all modern day OS are multi processing. in your pc rn there will be around 50-200 processes running depending on your PC state. now you start 4 process. so in 4 core there going to be 1 process running at a time. so in your pc of 4 cores, at a time 4 process will be running. this process execution so fast in micro to mili seconds that we do not realize and get illusion of having 10s of processes executing parallerly but it;s ectually not. in 4 core cpu at a time only 4 process can be concurrently in running state.
In a cpu core there's not always a single thread is executing, there might be a thread which is I/O bounded so when the thread will go for I/O operation then another thread will come for execution and then this thread context switching is needed.
Bass abb Jaldi se DSA bhi Continue kar dena usi Consistency ke sath jin babbar bhaiya ki consistency ki duniya kasame khati he 😂😂👌
I am loving this OS series sir, please keep up the good work helping us
Best series ever on operating system thank you very much sir
i hope this os course helping me to crack out placement......Thnxxxx Babbar bhaiya.....
Present bhaiya.
Glad to see you again..!! 🤩🤩
Thank you bhaiya from this video I got to know about the concept of multithreading and how threads are helpful to achieve parallelism which increases the responsiveness of the system. Also the interesting concept int this video was of how like processes havetheir PCB, threads have their TCB(Thread Control Block).
😀😀waw ek dm clear understanding huwa maza aagaya bhaiya thank you so much ❤️❤️
finally back to track thanks alot bhaiya
i m learning alot from this OS series keep uploading and make it as soon as possible
Marked my attendance!
Commenting for better reach!
00:05 Introduction to concurrency and multithreading in operating systems.
02:39 Concurrency allows execution of multiple instructions simultaneously using threads.
06:21 Concurrency enhances efficiency by enabling parallel task execution using multiple threads.
09:41 Threads utilize TCB for scheduling and execution efficiency.
12:51 Multi-threading enhances responsiveness and parallelism in CPU usage.
16:05 Concurrency with threads improves efficiency and resource sharing in multi-core CPUs.
19:02 Concurrency improves execution speed and responsiveness using multi-threading.
21:44 Understanding thread execution and synchronization in C++ multi-threading.
Bhai sahab kya samjaya sir, thanks a ton
Thank you bhaiya ji
I was so eagerly waiting that there are no words
chumma course bhaiya, aj college me paper hei yahi se pad ke ja raha hu questions bhi lag rahe hei maaal!
finally bhaiya ♥️ 💥💥 has arrived
Bhaiya aap zindigi bacha rhe ho kaiyo ki may god complete all you wishes🤗🤗
BHAIYA MAZZA AA GYA, KYA LECTURE THA!
agla lecture bhi release krdo please, I wanna know more about multithreading and coding it hands-on and all the cool stuff that we may be able to do with this
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
Very beautifully 😍 explained ..i fell in love with the concept
maza aagya bhaiya
accha samjhaye bhai aap
agye bhaiya jiiiiiii 🙌🙌DSA ki bhi jald hi daalo aapke bina padayi me mann nhi lagta bhaiya 🙌❤️❤️Take care bhaiya
Great comeback
was waiting for this
great lakshay bhiya
bahot badhiya, keep on going sir
Ohh my goddd eagerly waiting for this and hoping for dsa lecture will come as early as possible ❤
Thanks bhaiya....Eagerly waiting for the videos...
Practical wala part mast tha
Amazing explanations 🔥
Attendence marked
First priority is mental health 😉.
Thoda late v chalega❤️
All time superb 😀😀
This series is awesome.
Thank You sir!!!
was waiting for this
nice video
thanks bhiaya for your efforts
Thank you Bhaiya Feel aa gya lecture dekh ke.👏
Present Bhaiya ❤️
you made the concept of multi-threading so damn simple! thank you bhaiyaa!😇😇
mst the bhai ye vid to .
Welcome back bhaiya
Thankyou bhaia for new video
Very well explained
Present bhaiya
Consistency++..
Thank You Bhaiiya ! Loved the hands on explanation !! :D Comment ++ !
🔥🔥🔥
thank you bhaiya
For people facing issues with the code, ask gpt, or to give a summary, unistd acts as an API for the os of unix systems. For windows, you will have to use Windows.h, with Sleep() instead of sleep(). where Sleep treats time arguments as milliseconds
Thank you bhaiya❣️
great share
Day 15 Done ✓
Completed ☑️
thsnks bhaiya
Great series!❤
Lecture 15 completed ✅
Thanku sir
bhaiya 2023 k liye interviews start ho rhe h toh agar ho sake to OS series ki freq badha dijiye please
Kya hua apka
Abhi konse company me ho?
❤❤
Maine Video pura dekha
Good Evening Sir... 🥇🥇🥇 First Comment.
Thanks sir
Present bhaiya...
Superb
Thanks :)
bhaia please complete this course....and please increase the frequency if you can.
thanks for lecture
great
💥💥💥💥
literally watching them on 2.8x
This Multi-Threading progam is not run in my vs code somthing is wrong about this code
Cleared
Hello Lakshay Bhayya!!!! I am following this course since two weeks. I have lot of interest in threading and other releted funtions of it. I want to practice the threading. Currently I am using VS code on my laptop. But this threading releated codes are not running. Can u tell me how you setuped the pthread or thread libary in vs code. It so much useful for me if u replyed me. Egarly waiting for your response...
First❤
Me while doing the course -Jukuga nhi sala 😎
Lecture 15 Done
Thank you
Multi threading will have benefits even on a single core system if you have I/O tasks..
Thnks bhaiya
Sir ...why we called thread is a light weight process?
Amazon OS series ❤
In timestamp: the last part says Hands-on Multithreading in C, while it is shown in C++. In fact, multi-threading was available only after C++11
fflush and sleep meaning there in programs?
BHAI DSA SERIES BHI CONTINUE KARO
Bhaiya apna DSA bhi continue kr do
OP
Will there be benefit if the process is not multi-threaded but its a multicore CPU?
How to run the cpp program in zsh in VS Code?
Done!
Second 👏
Let's say if I have 4 processes and 4 cores then won't all these 4 processes would be working parallely in each core? Or will every process be executed serially and this process will use threads to utilise all the present cores?
all modern day OS are multi processing. in your pc rn there will be around 50-200 processes running depending on your PC state. now you start 4 process. so in 4 core there going to be 1 process running at a time. so in your pc of 4 cores, at a time 4 process will be running. this process execution so fast in micro to mili seconds that we do not realize and get illusion of having 10s of processes executing parallerly but it;s ectually not. in 4 core cpu at a time only 4 process can be concurrently in running state.
os ki series me os ki advertisement dal rahe he😂😂😂
Second ❤️
Attendance ++
💜💜💜
suppose my system has 8 threads and we done 10 task a time then what happen
Combined notes?
If different threads are executed by different CPU's (or cores) then why do we need context switching of them ?
In a cpu core there's not always a single thread is executing, there might be a thread which is I/O bounded so when the thread will go for I/O operation then another thread will come for execution and then this thread context switching is needed.
when will next video come??
Reach ++
multi-threading is posible in single-cpu system right? since context switching is posssible
Yeah it's possible but it is not useful
Attendance Marked
🙏
02/07/24 multi-threading cleared++ Lakshay bhaiyaa
Yelo next video
Chataek 😂