Lecture 15: What is Concurrency ? || Multi-Threading in C++ || Operating Systems Placement Series

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025

ความคิดเห็น • 141

  • @unboxtheuniverse5336
    @unboxtheuniverse5336 2 ปีที่แล้ว +21

    Bass abb Jaldi se DSA bhi Continue kar dena usi Consistency ke sath jin babbar bhaiya ki consistency ki duniya kasame khati he 😂😂👌

  • @anandprateekbaranwal8275
    @anandprateekbaranwal8275 2 ปีที่แล้ว +26

    I am loving this OS series sir, please keep up the good work helping us

  • @piyushgaur6975
    @piyushgaur6975 2 ปีที่แล้ว +9

    Best series ever on operating system thank you very much sir

  • @saurabhrajput7492
    @saurabhrajput7492 2 ปีที่แล้ว +3

    i hope this os course helping me to crack out placement......Thnxxxx Babbar bhaiya.....

  • @ashutoshkr99
    @ashutoshkr99 2 ปีที่แล้ว +4

    Present bhaiya.
    Glad to see you again..!! 🤩🤩

  • @tech_and_memes
    @tech_and_memes 2 ปีที่แล้ว +6

    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).

  • @mahesh176
    @mahesh176 2 ปีที่แล้ว +1

    😀😀waw ek dm clear understanding huwa maza aagaya bhaiya thank you so much ❤️❤️

  • @abdulrazzak2934
    @abdulrazzak2934 2 ปีที่แล้ว +3

    finally back to track thanks alot bhaiya
    i m learning alot from this OS series keep uploading and make it as soon as possible

  • @_SahilShah
    @_SahilShah 2 ปีที่แล้ว +1

    Marked my attendance!
    Commenting for better reach!

  • @thirumurugant6242
    @thirumurugant6242 2 หลายเดือนก่อน

    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.

  • @Singh54321
    @Singh54321 6 วันที่ผ่านมา

    Bhai sahab kya samjaya sir, thanks a ton

  • @naveensingh_0735
    @naveensingh_0735 2 ปีที่แล้ว +2

    Thank you bhaiya ji
    I was so eagerly waiting that there are no words

  • @shavetasingh3076
    @shavetasingh3076 2 ปีที่แล้ว +1

    chumma course bhaiya, aj college me paper hei yahi se pad ke ja raha hu questions bhi lag rahe hei maaal!

  • @dwivedi6037
    @dwivedi6037 2 ปีที่แล้ว +1

    finally bhaiya ♥️ 💥💥 has arrived

  • @Shorts-mk3em
    @Shorts-mk3em 2 ปีที่แล้ว +1

    Bhaiya aap zindigi bacha rhe ho kaiyo ki may god complete all you wishes🤗🤗

  • @0708Sunshine
    @0708Sunshine 2 ปีที่แล้ว +1

    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
    🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

  • @sudhakarsingh7255
    @sudhakarsingh7255 2 ปีที่แล้ว +1

    Very beautifully 😍 explained ..i fell in love with the concept

  • @abdulrazzak2934
    @abdulrazzak2934 2 ปีที่แล้ว +1

    maza aagya bhaiya
    accha samjhaye bhai aap

  • @Ayush_.
    @Ayush_. 2 ปีที่แล้ว +2

    agye bhaiya jiiiiiii 🙌🙌DSA ki bhi jald hi daalo aapke bina padayi me mann nhi lagta bhaiya 🙌❤️❤️Take care bhaiya

  • @amitavaghosh7201
    @amitavaghosh7201 2 ปีที่แล้ว +1

    Great comeback

  • @itzheavem4451
    @itzheavem4451 2 ปีที่แล้ว

    was waiting for this
    great lakshay bhiya

  • @kms8320
    @kms8320 2 ปีที่แล้ว +1

    bahot badhiya, keep on going sir

  • @neerajgarg9096
    @neerajgarg9096 2 ปีที่แล้ว +2

    Ohh my goddd eagerly waiting for this and hoping for dsa lecture will come as early as possible ❤

  • @prathmeshparteki1016
    @prathmeshparteki1016 2 ปีที่แล้ว +1

    Thanks bhaiya....Eagerly waiting for the videos...

  • @VivekKumar-ui1ro
    @VivekKumar-ui1ro ปีที่แล้ว +1

    Practical wala part mast tha

  • @VinodKumar-hm6do
    @VinodKumar-hm6do 2 ปีที่แล้ว +2

    Amazing explanations 🔥

  • @iutkarshmehta
    @iutkarshmehta 2 ปีที่แล้ว +7

    Attendence marked
    First priority is mental health 😉.
    Thoda late v chalega❤️

  • @kaunikpatel
    @kaunikpatel 2 ปีที่แล้ว +1

    All time superb 😀😀

  • @kartikey3695
    @kartikey3695 2 ปีที่แล้ว +1

    This series is awesome.

  • @UECAshutoshKumar
    @UECAshutoshKumar 7 หลายเดือนก่อน +1

    Thank You sir!!!

  • @ninjahattori4101
    @ninjahattori4101 2 ปีที่แล้ว +1

    was waiting for this
    nice video

  • @alokranjan3185
    @alokranjan3185 2 ปีที่แล้ว +1

    thanks bhiaya for your efforts

  • @mayankgupta4347
    @mayankgupta4347 ปีที่แล้ว

    Thank you Bhaiya Feel aa gya lecture dekh ke.👏

  • @srajittanwar636
    @srajittanwar636 2 ปีที่แล้ว +1

    Present Bhaiya ❤️

  • @vrindasharma4035
    @vrindasharma4035 2 ปีที่แล้ว +1

    you made the concept of multi-threading so damn simple! thank you bhaiyaa!😇😇

  • @divyanshuarun7129
    @divyanshuarun7129 2 ปีที่แล้ว

    mst the bhai ye vid to .

  • @yogeshsharma24
    @yogeshsharma24 2 ปีที่แล้ว

    Welcome back bhaiya

  • @ShashankMishraCSE__
    @ShashankMishraCSE__ 2 ปีที่แล้ว +1

    Thankyou bhaia for new video

  • @AmandeepSingh-km1cy
    @AmandeepSingh-km1cy 2 ปีที่แล้ว +1

    Very well explained

  • @shivkumar-og4ow
    @shivkumar-og4ow 2 ปีที่แล้ว +1

    Present bhaiya
    Consistency++..

  • @shantanuhallur6825
    @shantanuhallur6825 2 ปีที่แล้ว +1

    Thank You Bhaiiya ! Loved the hands on explanation !! :D Comment ++ !

  • @Avez5
    @Avez5 2 ปีที่แล้ว +2

    🔥🔥🔥

  • @nishankdeep3084
    @nishankdeep3084 2 ปีที่แล้ว +1

    thank you bhaiya

  • @enderdog3gaming520
    @enderdog3gaming520 3 หลายเดือนก่อน

    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

  • @TechUprise-by-Jyoti
    @TechUprise-by-Jyoti 2 ปีที่แล้ว +1

    Thank you bhaiya❣️

  • @tony_Stark_2024
    @tony_Stark_2024 ปีที่แล้ว

    great share

  • @tntextreme1965
    @tntextreme1965 2 ปีที่แล้ว +2

    Day 15 Done ✓

  • @SardarCoder
    @SardarCoder ปีที่แล้ว

    Completed ☑️

  • @kartikpant9748
    @kartikpant9748 2 ปีที่แล้ว +2

    thsnks bhaiya

  • @bhaveshkumar6842
    @bhaveshkumar6842 2 ปีที่แล้ว +1

    Great series!❤

  • @shiwani9146
    @shiwani9146 2 ปีที่แล้ว +1

    Lecture 15 completed ✅

  • @akankshapandey9773
    @akankshapandey9773 2 ปีที่แล้ว +1

    Thanku sir

  • @569_richagupta6
    @569_richagupta6 2 ปีที่แล้ว +8

    bhaiya 2023 k liye interviews start ho rhe h toh agar ho sake to OS series ki freq badha dijiye please

    • @ayushgupta-uf9ss
      @ayushgupta-uf9ss หลายเดือนก่อน

      Kya hua apka
      Abhi konse company me ho?

  • @lifeinfocus99
    @lifeinfocus99 2 ปีที่แล้ว +1

    ❤❤

  • @sumitsakpal7085
    @sumitsakpal7085 2 ปีที่แล้ว

    Maine Video pura dekha

  • @pradeep4982
    @pradeep4982 2 ปีที่แล้ว

    Good Evening Sir... 🥇🥇🥇 First Comment.

  • @militaryink319
    @militaryink319 2 ปีที่แล้ว +1

    Thanks sir

  • @manishkhandelwal7660
    @manishkhandelwal7660 2 ปีที่แล้ว

    Present bhaiya...

  • @kaunikpatel
    @kaunikpatel 2 ปีที่แล้ว

    Superb

  • @shubhambhardwaj8894
    @shubhambhardwaj8894 2 ปีที่แล้ว +1

    Thanks :)

  • @satyamshukla1418
    @satyamshukla1418 2 ปีที่แล้ว +1

    bhaia please complete this course....and please increase the frequency if you can.

  • @bite091_jamee7
    @bite091_jamee7 2 ปีที่แล้ว

    thanks for lecture

  • @KratosProton
    @KratosProton 2 ปีที่แล้ว

    great

  • @adityakumaryadav7869
    @adityakumaryadav7869 2 ปีที่แล้ว +1

    💥💥💥💥

  • @korosensei3780
    @korosensei3780 2 ปีที่แล้ว +2

    literally watching them on 2.8x

  • @SomuHaldar-i4r
    @SomuHaldar-i4r ปีที่แล้ว +2

    This Multi-Threading progam is not run in my vs code somthing is wrong about this code

  • @ANURAGSINGH-nl2ll
    @ANURAGSINGH-nl2ll ปีที่แล้ว

    Cleared

  • @harshadmadhbhave2522
    @harshadmadhbhave2522 2 ปีที่แล้ว +2

    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...

  • @bhavooksethi2589
    @bhavooksethi2589 2 ปีที่แล้ว

    First❤

  • @harshal8781
    @harshal8781 2 ปีที่แล้ว +1

    Me while doing the course -Jukuga nhi sala 😎

  • @komalkumari3770
    @komalkumari3770 2 ปีที่แล้ว +1

    Lecture 15 Done

  • @arshadmohammed1090
    @arshadmohammed1090 2 ปีที่แล้ว

    Thank you

  • @manan1298
    @manan1298 หลายเดือนก่อน

    Multi threading will have benefits even on a single core system if you have I/O tasks..

  • @063himanshumishra4
    @063himanshumishra4 2 ปีที่แล้ว

    Thnks bhaiya

  • @shivangshukla91
    @shivangshukla91 ปีที่แล้ว

    Sir ...why we called thread is a light weight process?

  • @muhammadsuleman8936
    @muhammadsuleman8936 2 หลายเดือนก่อน

    Amazon OS series ❤

  • @gena8414
    @gena8414 2 ปีที่แล้ว +4

    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

  • @ankittjindal
    @ankittjindal 2 ปีที่แล้ว +1

    fflush and sleep meaning there in programs?

  • @lakshaynarula5762
    @lakshaynarula5762 2 ปีที่แล้ว +1

    BHAI DSA SERIES BHI CONTINUE KARO

  • @deepakvaishnav9780
    @deepakvaishnav9780 2 ปีที่แล้ว +1

    Bhaiya apna DSA bhi continue kr do

  • @jayminpatil6168
    @jayminpatil6168 2 ปีที่แล้ว

    OP

  • @aatmanpradhan3788
    @aatmanpradhan3788 2 ปีที่แล้ว +1

    Will there be benefit if the process is not multi-threaded but its a multicore CPU?

  • @neetimishra5036
    @neetimishra5036 2 ปีที่แล้ว +2

    How to run the cpp program in zsh in VS Code?

  • @girikgarg8
    @girikgarg8 ปีที่แล้ว

    Done!

  • @40_khushboochauhan47
    @40_khushboochauhan47 2 ปีที่แล้ว

    Second 👏

  • @devbhojani9274
    @devbhojani9274 5 หลายเดือนก่อน

    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?

    • @Danish_Khan_
      @Danish_Khan_ 5 หลายเดือนก่อน

      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.

  • @kms8320
    @kms8320 2 ปีที่แล้ว +1

    os ki series me os ki advertisement dal rahe he😂😂😂

  • @abhishekabhivirat9876
    @abhishekabhivirat9876 2 ปีที่แล้ว

    Second ❤️

  • @naveensingh_0735
    @naveensingh_0735 2 ปีที่แล้ว

    Attendance ++

  • @Pikachu10-19
    @Pikachu10-19 2 ปีที่แล้ว

    💜💜💜

  • @himanshutiwari169
    @himanshutiwari169 หลายเดือนก่อน

    suppose my system has 8 threads and we done 10 task a time then what happen

  • @vigilanthuman
    @vigilanthuman 2 ปีที่แล้ว +1

    Combined notes?

  • @abinashgupta670
    @abinashgupta670 2 ปีที่แล้ว +1

    If different threads are executed by different CPU's (or cores) then why do we need context switching of them ?

    • @linustorvalds1549
      @linustorvalds1549 ปีที่แล้ว

      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.

  • @aishavkhandelwal8271
    @aishavkhandelwal8271 2 ปีที่แล้ว +2

    when will next video come??

  • @KaranTheSharma
    @KaranTheSharma 2 ปีที่แล้ว +1

    Reach ++

  • @Mr.Bombastic-tl5ic
    @Mr.Bombastic-tl5ic ปีที่แล้ว

    multi-threading is posible in single-cpu system right? since context switching is posssible

    • @devbhojani9274
      @devbhojani9274 5 หลายเดือนก่อน

      Yeah it's possible but it is not useful

  • @crazycr7331
    @crazycr7331 2 ปีที่แล้ว

    Attendance Marked

  • @abhishekkumar-kt3uk
    @abhishekkumar-kt3uk 2 ปีที่แล้ว

    🙏

  • @cooldude0321
    @cooldude0321 7 หลายเดือนก่อน

    02/07/24 multi-threading cleared++ Lakshay bhaiyaa

  • @harshitchaubey8274
    @harshitchaubey8274 2 ปีที่แล้ว

    Yelo next video
    Chataek 😂