MultiThreading in Java Theory

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 248

  • @TrenddyTalks
    @TrenddyTalks Год назад +20

    The most underrated tutor of all time for all ages...

    • @Sriramparlasql
      @Sriramparlasql 9 месяцев назад +1

      Yes for brokers he is
      But for students he is god dev ❤
      Thank you sir for your classes

  • @kanthichandra898
    @kanthichandra898 2 года назад +20

    Even after 10 years also,your videos will help many engineering students.🤗❤️

  • @anagnaikgaunekar9081
    @anagnaikgaunekar9081 4 года назад +19

    Others: There are two ways to create thread. Extending Thread class or implementing Runnable interface.
    Telusko: We implement Runnable interface because of inability of multiple inheritance.
    Great Tutorials..

  • @LokeshBhartiyaOriginal
    @LokeshBhartiyaOriginal 8 лет назад +30

    u r getting better and better than better

  • @sohangajjar1106
    @sohangajjar1106 2 года назад

    Best Threading explaination from youtube

  • @AshutoshMohanty07
    @AshutoshMohanty07 5 лет назад +77

    The counterstrike part was awesome !!!

  • @s.saransh5187
    @s.saransh5187 3 года назад +4

    Sir, you have changed incredibly in last 5 years.

  • @ferdikurt9287
    @ferdikurt9287 8 лет назад +11

    Hello from Istanbul,Turkey.Brother Navin,you are really good at teaching.Thank you so much for your great effort and stuffs.

  • @walidhassan5816
    @walidhassan5816 4 года назад

    i will donate to Telusko in my working life.....
    it helped me a lot,
    Thank you sir.

  • @akb3502
    @akb3502 7 лет назад +5

    Best teacher ever I seen on RUclips

  • @Vicky-hq1mp
    @Vicky-hq1mp 5 лет назад +2

    Hi sir u r my hero...u gave technology life to me

  • @saraswatisaud1787
    @saraswatisaud1787 4 года назад +9

    This video is amazing. It gives a clear concept of MultiThreading.

  • @priyankapallapu6458
    @priyankapallapu6458 5 лет назад +4

    First time I am seeing your video .Really well explained and useful .Concepts are explained crystal clear

    • @MasudRana-nv6cj
      @MasudRana-nv6cj 5 лет назад

      Hello

    • @better-Bro
      @better-Bro 5 лет назад

      i am coming here from his python tutorial to java done with python

  • @gbemisolaagboola8255
    @gbemisolaagboola8255 3 года назад +1

    great explanation

  • @lionciomorcilla4743
    @lionciomorcilla4743 6 лет назад +8

    thankyou very much sir

  • @mattjoe67
    @mattjoe67 4 года назад

    Thanks, Telusko, very clear explanation, those individuals are creating networking tutorials should adopt your simple method of explanation, Instead, they are being around the bush or explanation is not clear.

  • @koradahareesh7802
    @koradahareesh7802 Год назад

    Good explanation sir

  • @shashank04s
    @shashank04s 3 года назад +10

    The effort you make us to understand any concept is really really good , thanks a lot sir ! 🙂

  • @ashokkumarmadivala3889
    @ashokkumarmadivala3889 3 года назад

    Thank you sir...you made me java Concepts understand much more easier

  • @TheFlyguy31
    @TheFlyguy31 8 лет назад +15

    Excellent video.

    • @Eve985
      @Eve985 7 лет назад +2

      Michael Knox i agree. Big thanks to the teacher!

    • @TheFlyguy31
      @TheFlyguy31 7 лет назад

      Thank you, Eve

    • @pranavm2737
      @pranavm2737 6 лет назад

      pariiii

  • @Oops_.._
    @Oops_.._ Год назад

    Thank you from tamilnadu

  • @dhanupreethi6887
    @dhanupreethi6887 5 лет назад

    Thank you very much for all your videos

  • @MadivadaRavi
    @MadivadaRavi 5 лет назад

    U r teaching is very interesting

  • @kayyum698
    @kayyum698 2 года назад

    Great explaination sir

  • @harshverm776
    @harshverm776 8 месяцев назад

    Thanks for the paylist !!!
    As always - wonderful !!!

  • @hemanthkumarnr4555
    @hemanthkumarnr4555 4 года назад +1

    things getting interesting to know more about threads

  • @sudharrsunnd3113
    @sudharrsunnd3113 6 лет назад +13

    This is really amazing. The way you explain concepts. Thanx.

  • @nilesh3659
    @nilesh3659 7 лет назад +1

    explained wonderfully... Thanks

  • @vibhorsharma2726
    @vibhorsharma2726 5 лет назад

    I really love you Bhai you are my favorite teacher...😍😍❣️❣️❣️❣️❣️

  • @travelnlearn
    @travelnlearn 3 года назад

    Thanks for this wonderful video. May gbu with lots of success love and life. Keep Rocking

  • @ArunraajSingh
    @ArunraajSingh 7 лет назад +2

    good explanation about usage of multithreading

  • @manashranjan1267
    @manashranjan1267 5 лет назад

    Very good explanation thanks Sir

  • @vikaskushwah165
    @vikaskushwah165 3 года назад

    U r great job sir 🙏🙏🙋

  • @mohdabdulrahman4210
    @mohdabdulrahman4210 4 года назад

    thanks man your ways of explanation is amazing

  • @Rahulsingh-fl6yv
    @Rahulsingh-fl6yv 6 лет назад +18

    Hi Sir,
    I am facing problem to understand concurrent API, it would be great if you publish one video on this.
    Thank you very much for earlier videos.
    Thanks,
    Rahul S

  • @s.santhosh4668
    @s.santhosh4668 3 года назад

    Thank you sir😁

  • @luckytheracer4557
    @luckytheracer4557 5 лет назад +1

    BEst learning channel in youtube Telusko and Mysirg

  • @anvikshagupta6406
    @anvikshagupta6406 6 лет назад

    Great video sir.

  • @sruthikuppili7828
    @sruthikuppili7828 6 лет назад +1

    I learned lot from ur videos..thank you very much sir

  • @indudevarashetty9160
    @indudevarashetty9160 6 лет назад

    Thank you very much Brother

  • @adilsaju
    @adilsaju 5 лет назад +2

    Awesome video man!!

  • @tsweetkorner
    @tsweetkorner 7 лет назад +1

    thanku sir for delivering lecture in so simple way
    just awesome

  • @alihussainkhan6976
    @alihussainkhan6976 6 лет назад

    very well explained

  • @jonathanknorr3843
    @jonathanknorr3843 6 лет назад +1

    Good video. Nicely explained.

  • @cybergamer6306
    @cybergamer6306 6 лет назад

    Thank you very much

  • @yt.user-zull
    @yt.user-zull 6 лет назад

    Explained so clearly!

  • @valerie215
    @valerie215 5 лет назад

    Thank you

  • @Racer4308
    @Racer4308 8 лет назад +3

    Was looking so long for this and im really thankful for this help. LIKE

  • @bharadwaj25
    @bharadwaj25 7 лет назад

    Great explanation.

  • @Lokeshsanapalli1729
    @Lokeshsanapalli1729 3 года назад +30

    Hi naveen, I used to follow your videos from long back. I learnt a lot from your videos honestly. Thank you for your contributions to the developer community. At 3:36 - I want to correct one thing. M̶u̶l̶t̶i̶t̶h̶r̶e̶a̶d̶i̶n̶g̶ ̶w̶o̶r̶k̶s̶ ̶u̶s̶i̶n̶g̶ ̶o̶n̶l̶y̶ ̶o̶n̶e̶ ̶c̶o̶r̶e̶ ̶i̶.̶e̶.̶ ̶w̶h̶e̶n̶ ̶a̶ ̶j̶a̶v̶a̶ ̶p̶r̶o̶g̶r̶a̶m̶ ̶r̶u̶n̶s̶ ̶i̶t̶ ̶c̶r̶e̶a̶t̶e̶s̶ ̶a̶ ̶p̶r̶o̶c̶e̶s̶s̶ ̶a̶n̶d̶ ̶t̶h̶e̶ ̶t̶h̶r̶e̶a̶d̶s̶ ̶w̶e̶ ̶c̶r̶e̶a̶t̶e̶ ̶i̶n̶s̶i̶d̶e̶ ̶t̶h̶e̶ ̶p̶r̶o̶g̶r̶a̶m̶ ̶w̶i̶l̶l̶ ̶b̶e̶ ̶t̶h̶r̶e̶a̶d̶s̶ ̶i̶n̶s̶i̶d̶e̶ ̶t̶h̶a̶t̶ ̶p̶r̶o̶c̶e̶s̶s̶.̶ ̶M̶u̶l̶t̶i̶p̶r̶o̶c̶e̶s̶s̶i̶n̶g̶ ̶o̶r̶ ̶p̶a̶r̶a̶l̶l̶e̶l̶i̶s̶m̶ ̶i̶s̶ ̶w̶h̶a̶t̶ ̶y̶o̶u̶ ̶e̶x̶p̶l̶a̶i̶n̶e̶d̶ ̶i̶.̶e̶.̶ ̶d̶o̶i̶n̶g̶ ̶m̶u̶l̶t̶i̶p̶l̶e̶ ̶t̶h̶i̶n̶g̶s̶ ̶a̶t̶ ̶o̶n̶c̶e̶ ̶b̶y̶ ̶u̶s̶i̶n̶g̶ ̶m̶u̶l̶t̶i̶p̶l̶e̶ ̶c̶o̶r̶e̶s̶ ̶i̶n̶ ̶t̶h̶e̶ ̶m̶a̶c̶h̶i̶n̶e̶.̶
    Multithreading in the single-core machine works by context switching quickly whereas in a multi-core machine threads run in multiple cores.
    P̶l̶e̶a̶s̶e̶ ̶p̶i̶n̶ ̶t̶h̶i̶s̶ ̶c̶o̶m̶m̶e̶n̶t̶ ̶o̶r̶ ̶e̶d̶i̶t̶ ̶t̶h̶e̶ ̶v̶i̶d̶e̶o̶.̶ ̶P̶e̶o̶p̶l̶e̶ ̶m̶a̶y̶ ̶m̶i̶s̶u̶n̶d̶e̶r̶s̶t̶a̶n̶d̶ ̶t̶h̶e̶ ̶c̶o̶n̶c̶e̶p̶t̶.̶

    • @adityareddy460
      @adityareddy460 2 года назад +3

      Yes, that is true in the case when there is only one CPU with a single core, but Modern computers, though, come with multi-core CPUs, and even with multiple CPUs too. This means that separate threads can be executed by separate cores or CPUs simultaneously.

    • @obalalmeida6419
      @obalalmeida6419 2 года назад

      Yup

    • @abhiganta
      @abhiganta 2 года назад +3

      @Lokesh, heard about context-switching ?, its perceived vs. actual concurrency.
      In multi-processor system , multiple threads execute , simultaneously on different cores. Eg- If there are two threads and two cores , then each thread would run on individual core.
      In a single-processor system, multiple threads execute , one after the other or wait until one thread finishes or is preempted by the OS , depending on the thread priority and the OS policy.But the running threads , gives an illusion that they run simultaneous

    • @jovictor3007
      @jovictor3007 2 года назад +1

      No you misunderstood the concept yourself instead of going to wikipedia where anyone can edit any article this is from oracle (Read carefully until the end on how threads run in a multiprocessor environment , nothing of what he said is wrong ) : In a multithreaded process on a single processor, the processor can switch execution resources between threads, resulting in concurrent execution. Concurrency indicates that more than one thread is making progress, but the threads are not actually running simultaneously. The switching between threads happens quickly enough that the threads might appear to run simultaneously.
      In the same multithreaded process in a shared-memory multiprocessor environment, each thread in the process can run concurrently on a separate processor, resulting in parallel execution, which is true simultaneous execution. When the number of threads in a process is less than or equal to the number of processors available, the operating system's thread support system ensures that each thread runs on a different processor. For example, in a matrix multiplication that is programmed with four threads, and runs on a system that has two dual-core processors, each software thread can run simultaneously on the four processor cores to compute a row of the result at the same time.

    • @Lokeshsanapalli1729
      @Lokeshsanapalli1729 2 года назад

      @Jo Victor - you’re elaborating the same thing i said… i just didn’t mention that the processor context switches between multiple threads but the gist is same… concurrency is managing multiple tasks whereas parallelism is doing multiple tasks at the same time

  • @naseeraj502
    @naseeraj502 5 лет назад

    Amazing class ,thank you sir

  • @crystalyun833
    @crystalyun833 4 года назад

    I find your video very useful for primers.. i have listened your API, JSON,Bubble Sort previously.. and now multithreading! keep up the good work!

  • @ullashsaha1247
    @ullashsaha1247 7 лет назад

    You are really good

  • @AhmedVlogs1
    @AhmedVlogs1 7 лет назад +2

    Thank You Navin Sir , in less time I get to learn a concept fast ....all credit to your teaching.

  • @bcs_Paras
    @bcs_Paras 4 года назад

    Sir plz make video for swings components

  • @SajalAgarwal300
    @SajalAgarwal300 5 лет назад

    Nice videos 👌👌

  • @marklee1194
    @marklee1194 6 лет назад

    Well explained.

  • @yuva434
    @yuva434 6 лет назад

    Explained well

  • @divyanshupawar8069
    @divyanshupawar8069 4 года назад

    Really Nice video

  • @quratulainirfan6734
    @quratulainirfan6734 4 года назад

    Amazingly explained 🤝🏻

  • @pritamsaha2848
    @pritamsaha2848 8 лет назад +1

    sir,please upload a video on creating multiple threads with step by step explanation of execution of all threads...

  • @dkreddy
    @dkreddy 5 лет назад

    good bro. Thank you.

  • @girishpgp
    @girishpgp 4 года назад

    @Tulusko: Runnable is not the way to create a thread! Infact it's just a job which can be assigned to run in any thread. Please correct this in your video.

  • @nokia7plus150
    @nokia7plus150 5 лет назад

    thank you sir

  • @akashshrestha01
    @akashshrestha01 5 лет назад +1

    Cool sir

  • @TirupatiSaiKrishna
    @TirupatiSaiKrishna 5 лет назад

    Super Class

  • @saicharankuppilli9439
    @saicharankuppilli9439 6 лет назад +1

    sir, please make an video of applet in java

  • @hasnainmalick5777
    @hasnainmalick5777 3 года назад

    simply Best

  • @divyeshpatel148
    @divyeshpatel148 8 лет назад

    nice edited pooja

  • @rovsenhuseynov8368
    @rovsenhuseynov8368 4 года назад

    Very clear explanation, very useful video. Thanks Telusko !

  • @reddevil4169
    @reddevil4169 8 лет назад +1

    Can you upload a video explaining synchronization in multi threading?

  • @ranjitbhowmick2721
    @ranjitbhowmick2721 7 лет назад

    Helpful

  • @harshadakhandekar7013
    @harshadakhandekar7013 5 лет назад

    Helped me a lot. Thanks for sharing

  • @ahmadsaeed2140
    @ahmadsaeed2140 7 лет назад

    good video

  • @yogeshwarikarnan3108
    @yogeshwarikarnan3108 5 лет назад

    Theoretical explanation is also too good Sir..keep going Sir

  • @IllBecomeEngineer
    @IllBecomeEngineer Год назад +3

    welcome back aliens👽

  • @vikashkatiyar1225
    @vikashkatiyar1225 3 года назад

    Amazing

  • @FamousEgyptboy
    @FamousEgyptboy 6 лет назад +1

    Nice Video !

  • @ashuzguitar
    @ashuzguitar 3 года назад

    Thanks a ton!

  • @soumyajitdey5720
    @soumyajitdey5720 5 лет назад +2

    Suppose i have 9 threads in a octacore machine, then 2 threads should overlap or use the same core for processing if they are running parallely; how does this happen? Can you make a video on this or suggest some links? The video was great btw.

    • @teluskosupport1
      @teluskosupport1 Год назад

      in single core also multithreading can achieve , There are concept of context switching

  • @dhaneshpt8641
    @dhaneshpt8641 4 года назад

    Thank you sir.

  • @pritamsaha2848
    @pritamsaha2848 8 лет назад

    Sir,please upload a video on synchronization concept from multithreading in JAVA...

  • @akshata4092
    @akshata4092 5 лет назад

    Tq sir.

  • @Rawatayush130
    @Rawatayush130 7 лет назад

    ausm work sir

  • @stiliyangoranov3015
    @stiliyangoranov3015 6 лет назад +4

    Amazing !! Thank you, sir.

  • @IreshDissanayakaM
    @IreshDissanayakaM 7 лет назад +2

    Thank you so much! This helped a lot.

  • @manveersingh5822
    @manveersingh5822 6 лет назад +1

    My God, you are so intelligent!

  • @DemetrideSkepsi
    @DemetrideSkepsi 4 года назад +1

    Thank you, this was really informative!

  • @rayanagoudnadagoudra5411
    @rayanagoudnadagoudra5411 4 года назад

    how to solve it sir and please help for solving
    a. Design and implement the application using sequential

  • @elkhanhamet2561
    @elkhanhamet2561 7 лет назад +1

    Amazing video!!! Thank you sir, so much!!!

  • @AV-xo2up
    @AV-xo2up 6 лет назад +1

    What is the diff between multiprocessing and multithreading?

    • @teluskosupport
      @teluskosupport Год назад +1

      Multiprocessing uses two or more CPUs to increase computing power, whereas multithreading uses a single process with multiple threads to increase computing power. Multithreading focuses on generating computing threads from a single process, whereas multiprocessing increases computing power by adding CPUs.

  • @patrickjoel8779
    @patrickjoel8779 3 года назад

    Good

  • @ranellabjata5170
    @ranellabjata5170 3 года назад

    Thank you sir, you're a legend! 😁

  • @yogeshmhadgut1908
    @yogeshmhadgut1908 7 лет назад

    sir please give brief note on this topic in the video description

  • @vivekmalhan7083
    @vivekmalhan7083 5 лет назад

    Sir multithreading exposure mean?

  • @imrulkayes3812
    @imrulkayes3812 8 лет назад

    nice,,,carry on

  • @ankitratnam
    @ankitratnam 4 года назад +3

    There is no direct relationship between multi-threading and multiple CPU cores. Even a single core CPU can handle multiple threads( as spell-check feature in ms word was there even before dual core CPUs came).
    Multi-threading is more about utilizing the CPU-cycle of one core.

  • @mallikarjunhagargi7830
    @mallikarjunhagargi7830 7 лет назад

    thnku sir

  • @dipeshbhandari4746
    @dipeshbhandari4746 3 года назад

    Nice!

  • @aureliusvonhohenzollern
    @aureliusvonhohenzollern 4 года назад +1

    good video ty!