Core Java with OCJP/SCJP: Multi Threading Part-10 || Inter Thread Communication Part-1

  Рет қаралды 295,063

Durga Software Solutions

Durga Software Solutions

Күн бұрын

Пікірлер: 222
@ishitaroy2238
@ishitaroy2238 9 ай бұрын
8 years old videos, still providing the best tutorials on Java even in 2024.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 ай бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@richarddetsch7912
@richarddetsch7912 4 жыл бұрын
I like how Durga Software Solutions repeats important points over and over again. It is how our brain processes this information e.g. to reiterate these important principles.
@mohitpant8431
@mohitpant8431 4 жыл бұрын
He is such a nice teacher Even the camera person too must have cleared the Ocjp exam. 😊
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Mohit Pant. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@abirpaul9027
@abirpaul9027 2 жыл бұрын
Sir please teach us AWS only you can save us
@3Avanish
@3Avanish 7 жыл бұрын
Bahubali Of java.. :)
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 жыл бұрын
Hi Avanish. Thank you very much for your feedback
@shivakamlikar2144
@shivakamlikar2144 6 жыл бұрын
Ameerpet Java god is Durga sir only no one beat his explanation.... Durga sir is awesome faculty
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Shiva. Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/U1KKyi You an see more Java videos following link: Java tutorial by durga sir goo.gl/XWb4RL Java 9 by durga sir goo.gl/hXGyBW Java 1.8 Version New Features by Durga sir goo.gl/iHXXYU Adv Java JDBC Tutorial by Durga sir goo.gl/8q16Eo OCJA 1.8 Java SE 8 Programmer - I (1Z0 - 808 ) By Durga sir goo.gl/gC6R7f Core Java by NagoorBabu sir goo.gl/s6Nvj1 Advenced Java by Nagoorbabu sir goo.gl/ZZonzJ CoreJava by Ratan goo.gl/3VM19v Advanced Java jdbc by Ratan goo.gl/Rn2UXr Advjava tutorials - JSP by Ratan goo.gl/Z6ytxm Adv java servlets tutorial by ratan goo.gl/zTwi9y Servlet and JSP Tutorial by anji reddy goo.gl/jZMRUv Advanced Java Jdbc by Anjireddy goo.gl/16CGzX Hibernate byAnjireddy goo.gl/qQojvZ Struts by Anjireddy goo.gl/nE1Eof Spring by Mr.AnjiReddy goo.gl/NfN14R ADV JAVA by Naveen goo.gl/bhSsXF Spring by Mr.Naveen goo.gl/huVwFN Hibernate by Mr. Naveen goo.gl/TY3Wpd Struts by Mr.Naveen goo.gl/Vkmiw7
@ummarasettykirankumar9151
@ummarasettykirankumar9151 8 жыл бұрын
Feeling like I am attending his classes... Thanks sir
@someshgupta
@someshgupta 6 жыл бұрын
At the starting of the video i thought that one of my ear plug is got damaged but after checking it with other videos i found that there is very less right hand sound at the starting of this video.😀😁😀
@arunavaghosh2305
@arunavaghosh2305 6 жыл бұрын
same here bro😁
@er_ma3
@er_ma3 6 жыл бұрын
Same here 😂😂
@rajasekharreddy9630
@rajasekharreddy9630 6 жыл бұрын
Same here :)
@ajitshiva3282
@ajitshiva3282 6 жыл бұрын
Same here
@vinodkumarmakkar9134
@vinodkumarmakkar9134 6 жыл бұрын
Almost returened by earphone :P
@rups_kitchen_01
@rups_kitchen_01 9 ай бұрын
True Meaning of a teacher... Durga sir is that teacher. ❤
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 ай бұрын
Hello Friend. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@programmer6649
@programmer6649 3 жыл бұрын
That camera man become a great java developer 😂😂
@SandeepUnnam
@SandeepUnnam 6 ай бұрын
🤣
@Rohan_Developer
@Rohan_Developer 4 жыл бұрын
I watched sirs collection video . After see that videos my concept is clear about that part.thanks sir for making that videos.you are best teacher sir and I like the eg which you gives in during lecture.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Rohan. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@kumarsumit8685
@kumarsumit8685 6 жыл бұрын
sir i loved the way you map java concept with real life analogy .... i am very shocked about the 10 peoples who have disliked the video... Durga sir java "LEGEND".....
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Sumit. Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@586_pavan.p6
@586_pavan.p6 4 жыл бұрын
He is exactly software Dronacharya
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Pavan. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@karthiksindiri4617
@karthiksindiri4617 2 жыл бұрын
durga sir continues the legacy of java sir your one person to make a person perfect in java
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Karthik. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@javawidhitesh
@javawidhitesh Жыл бұрын
This class funniest line > neighbour will give left and right(IllegalMonitorStateException). Excellent explaining sir.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@kristidharpandit1315
@kristidharpandit1315 7 ай бұрын
Hats off sir ... Ur way of teaching just blew my mind!!! Thank you so much sir for diving into such deep ...
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 ай бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@kristidharpandit1315
@kristidharpandit1315 7 ай бұрын
​@@DurgaSoftwareSolutionsdone sir ❤
@hemanthkumar240
@hemanthkumar240 4 жыл бұрын
Java god ❤️❤️🙏🙏 never forget you in my life time sir , hopefully will meet you one day sir 🙏
@sunayanagonuru5231
@sunayanagonuru5231 8 жыл бұрын
the best videos any one can ever get..excellent teaching..hats off..
@ManishKumar-sv5my
@ManishKumar-sv5my 4 жыл бұрын
Durga sir is the God of Java 😊
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Manish. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@javashashavali
@javashashavali Жыл бұрын
The way you teaching . it is lovable sir . we really thank you
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@shaggy-zs2xj
@shaggy-zs2xj 4 жыл бұрын
ur technique is just marvelous n crack of the events to relate the topic is very funny sometimes! :))))
@maheshbabukamineni8123
@maheshbabukamineni8123 7 ай бұрын
Durga sir is very good story teller and he can direct movies also 😂😂
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 ай бұрын
Hello Mahesh. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@zaffariqbal3671
@zaffariqbal3671 6 жыл бұрын
Thanks again sir for your dedication .... i always love and respect you from the heart
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Zaffar, Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: Synchronization goo.gl/U1KKyi You an see more Java videos following link: Java tutorial by durga sir goo.gl/XWb4RL Java 9 by durga sir goo.gl/hXGyBW Java 1.8 Version New Features by Durga sir goo.gl/iHXXYU Adv Java JDBC Tutorial by Durga sir goo.gl/8q16Eo OCJA 1.8 Java SE 8 Programmer - I (1Z0 - 808 ) By Durga sir goo.gl/gC6R7f Core Java by NagoorBabu sir goo.gl/s6Nvj1 Advenced Java by Nagoorbabu sir goo.gl/ZZonzJ CoreJava by Ratan goo.gl/3VM19v Advanced Java jdbc by Ratan goo.gl/Rn2UXr Advjava tutorials - JSP by Ratan goo.gl/Z6ytxm Adv java servlets tutorial by ratan goo.gl/zTwi9y Servlet and JSP Tutorial by anji reddy goo.gl/jZMRUv Advanced Java Jdbc by Anjireddy goo.gl/16CGzX Hibernate byAnjireddy goo.gl/qQojvZ Struts by Anjireddy goo.gl/nE1Eof Spring by Mr.AnjiReddy goo.gl/NfN14R ADV JAVA by Naveen goo.gl/bhSsXF Spring by Mr.Naveen goo.gl/huVwFN Hibernate by Mr. Naveen goo.gl/TY3Wpd Struts by Mr.Naveen goo.gl/Vkmiw7
@premdahal912
@premdahal912 3 жыл бұрын
57:41 summarize of inter thread communication
@madhusudhankamalapuram7608
@madhusudhankamalapuram7608 3 жыл бұрын
Really your teaching is awesome..........
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Madhu. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@EngineerVaibhav
@EngineerVaibhav Жыл бұрын
90th video completed🎉❤
@ashutoshbhardwaj8001
@ashutoshbhardwaj8001 3 жыл бұрын
26:22 that backbencher 🤣🤣🤣
@MohitGupta-if7lw
@MohitGupta-if7lw 4 жыл бұрын
Don't worry the sound in other ear will be back at 17:18
@xink123456
@xink123456 8 жыл бұрын
Thank You very much sir for uploading all the videos .... You are great Sir..Thanks a Lot.. :)
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 8 жыл бұрын
thank u sachin sharma
@Gameplay-pq6hk
@Gameplay-pq6hk 7 жыл бұрын
"Don't sleep in the Class ,Not a good Programming Practice ,including Camera man also :xD"
@ultimatewarriorfrieza275
@ultimatewarriorfrieza275 4 жыл бұрын
lol
@nikhilchourasiya4720
@nikhilchourasiya4720 2 жыл бұрын
nice lecture thanks sir
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Nikhil. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@jonathanphillips6929
@jonathanphillips6929 4 жыл бұрын
called wait() on neighbors' postbox got LeftAndRightException on my cheek object....lol, as always awesome.
@kallurusubhashini6570
@kallurusubhashini6570 6 жыл бұрын
Sir I like you are way of explanation by giving realtime examples
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Kalluru subhashini. Thanks for your valuable feedback.It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/U1KKyi You an see more Java videos following link: Java tutorial by durga sir goo.gl/XWb4RL Java 9 by durga sir goo.gl/hXGyBW Java 1.8 Version New Features by Durga sir goo.gl/iHXXYU Adv Java JDBC Tutorial by Durga sir goo.gl/8q16Eo OCJA 1.8 Java SE 8 Programmer - I (1Z0 - 808 ) By Durga sir goo.gl/gC6R7f Core Java by NagoorBabu sir goo.gl/s6Nvj1 Advenced Java by Nagoorbabu sir goo.gl/ZZonzJ CoreJava by Ratan goo.gl/3VM19v Advanced Java jdbc by Ratan goo.gl/Rn2UXr Advjava tutorials - JSP by Ratan goo.gl/Z6ytxm Adv java servlets tutorial by ratan goo.gl/zTwi9y Servlet and JSP Tutorial by anji reddy goo.gl/jZMRUv Advanced Java Jdbc by Anjireddy goo.gl/16CGzX Hibernate byAnjireddy goo.gl/qQojvZ Struts by Anjireddy goo.gl/nE1Eof Spring by Mr.AnjiReddy goo.gl/NfN14R ADV JAVA by Naveen goo.gl/bhSsXF Spring by Mr.Naveen goo.gl/huVwFN Hibernate by Mr. Naveen goo.gl/TY3Wpd Struts by Mr.Naveen goo.gl/Vkmiw7
@duo8958
@duo8958 2 жыл бұрын
Videos are useful still now after 6years, maybe some changes occcured but not much for beginners. No other channel have that much useful content.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@coolprashantmailbox
@coolprashantmailbox 8 жыл бұрын
thanks for the videos and playlist..☺☺☺
@καδωαας
@καδωαας 4 жыл бұрын
Sir, I learn left right, Ameerpet and other things also because of you. Along with Java!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@saikumarvukkum3408
@saikumarvukkum3408 Ай бұрын
Hello Sir...do videos on countdownlatch completablefuture concepts also...
@hemanthsavasere934
@hemanthsavasere934 4 жыл бұрын
MS Dhoni of Java, Durga sir.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Hemanth. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@saniyajaved5504
@saniyajaved5504 4 жыл бұрын
Thank you so much Sir for making java so simple for us.!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Saniya. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@bluesteel1
@bluesteel1 Жыл бұрын
My left ear liked this video
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Friend. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@ankitamall3132
@ankitamall3132 2 жыл бұрын
as usual awesome sir❤️
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 2 жыл бұрын
Hello Ankita. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@thinksix1925
@thinksix1925 4 жыл бұрын
Thanks for teaching sir 🙏
@SandyRocks007
@SandyRocks007 4 жыл бұрын
My left ear loved your video 🤣🤣🤣
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Sandy. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@pawanadhikari110
@pawanadhikari110 7 жыл бұрын
The examples that Mr.Durga gives are simply superb...
@dineshhatwar6041
@dineshhatwar6041 8 жыл бұрын
Durga sir u r great.
@mkc0321
@mkc0321 8 жыл бұрын
excellent sir
@utsavmodh9698
@utsavmodh9698 9 ай бұрын
we have one said that thanda matlab coco cola same here Java matlab durga sir🎉
@sumitbadugu417
@sumitbadugu417 3 ай бұрын
Please make video on DSA
@royalramduggempudi7130
@royalramduggempudi7130 7 жыл бұрын
excelent teaching sirrr
@subratkumarsahoo4849
@subratkumarsahoo4849 7 жыл бұрын
Superb Explanation 🙂🙂🙂
@viswanathvd5836
@viswanathvd5836 8 жыл бұрын
simply greate explanation sir
@rahulpardeshi5886
@rahulpardeshi5886 7 жыл бұрын
Durga sir is thalaiva rajinikanth of Java
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 жыл бұрын
Hi Rahul. Thank you very much for your feedback
@gopikistam4373
@gopikistam4373 5 жыл бұрын
If one thread is pause situvation in critical section..then second thread enter into to same critical section..then it executed..and send notify method to first therad..then it's start
@amargupta1728
@amargupta1728 4 жыл бұрын
Please make video on countdown letch and cyclic barrier.
@artirandive4887
@artirandive4887 3 жыл бұрын
Thank you so much sir!! Please upload videos on SQL and Mysql .
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Arti. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@deepikaverma6830
@deepikaverma6830 4 жыл бұрын
Sir I have one query, in previous videos you said that there in no such thing like lock associated with sleep method or yield method as lock is associated with synchronization only. Now here in this video at 50:30 you mentioned that sleep(), yield() and join() methods don't release lock. This has created confusion in my mind so request you to explain me what is true.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Deepika. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@jayanthcr2516
@jayanthcr2516 2 жыл бұрын
Did u get the answer for that ? i too have the same doubt
@UpendraSingh-qx5uh
@UpendraSingh-qx5uh 2 жыл бұрын
see we can use sleep() yield() and join() method inside synchronized block/method as well as outside synchronized and if we are using these method inside synchronized then also these threads will not release lock until they complete their task, but in case of wait() notify() and notyfyAll() methods we can use only inside synchronized.
@NehaKumari-cx6un
@NehaKumari-cx6un Жыл бұрын
Thanks a lot Durga sir. For these video. Very thankful. One query i have but... I am not able to Get Producer consumer problem concept
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Nehakumari. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@Lakshmankablog
@Lakshmankablog 2 жыл бұрын
🤩👏👌
@artirandive4887
@artirandive4887 3 жыл бұрын
Please upload videos on annotations sir! Thank you!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Arti. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@rinkaljain2939
@rinkaljain2939 8 жыл бұрын
nice sir
@y.prakashrao511
@y.prakashrao511 Жыл бұрын
hii boss if it realases lock what about other threads to acheive wait() again
@ganeshjogam7837
@ganeshjogam7837 6 жыл бұрын
Awesome lecture Sir. In this video if the thread is interrupted then it will go into another waiting state or runnable state directly because thread might have been in waiting state by calling sleep which does not release lock. So does it depends whether the thread is holding lock in waiting state to decide the next state
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Ganesh. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@rizwanshahid1447
@rizwanshahid1447 7 жыл бұрын
Thanks so much, Durga Sir
@coolprashantmailbox
@coolprashantmailbox 8 жыл бұрын
durga and naveen sir are great
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 8 жыл бұрын
Tq Prashant
@demotivated_Coffee
@demotivated_Coffee 7 жыл бұрын
Just Great . Feeling Blessed.
@vivekbudge9706
@vivekbudge9706 4 жыл бұрын
Thank you so much sir :)
@pragatigautam-xm8fz
@pragatigautam-xm8fz Жыл бұрын
please proide playlist for springboot sir
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions Жыл бұрын
Hello Pragati. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@nextgensolver
@nextgensolver 3 жыл бұрын
Durga Sir: Why wait(),notify(),notifyAll() present in Object class not in Thread class. Last Bencher: Sir, In the Thread class space may not be enough😂😂
@naveennaveenraj821
@naveennaveenraj821 2 жыл бұрын
nice
@djanon8913
@djanon8913 5 жыл бұрын
In thread-lifecycle discussion, if time expires or, waiting thread got expired, then thread will enter to "Another Waiting-state". But, my question is from there, how that thread will "get the Lock" to come to "Ready/Runnable " state ?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Utkarsh. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@mohanrammanikandan7939
@mohanrammanikandan7939 4 жыл бұрын
@DJ Anon. Hi. As per my understanding, the thread(which calls wait) will acquire the lock as usual as soon as the another thread(which calls notify) releases the lock. But it may not release the lock immediately, till the time, it goes into another waiting state. Then, once the other thread releases the lock, it will acquire the lock and gets into Ready state. @Durga Software Solutions . Please correct if my understanding is wrong.
@v.r.499
@v.r.499 6 жыл бұрын
may be i misunderstand because of my english but can you solve this confusion ? Q. Forward To Time 54:15 => when thread invoke wait() method , it will release all locks acquire by that thread of one object type or all object type ? i means if thread acquired some locks on object 1(one) and some locks on object 2(two) .... here will thread release all locks of object 1 and 2 ???? Assume wait method calls on object 1(one) ? ===> docs.oracle.com/javase/7/docs/api/java/lang/Object.html#notify() public final void wait(long timeout) throws InterruptedException => Note that the wait method, as it places the current thread into the wait set for this object, unlocks only this object; any other objects on which the current thread may be synchronized remain locked while the thread waits. oracle documentation also wrote some statements about wait releasing locks in javaDoc : total confusion ? please solve my misunderstanding ? Thanks :)
@srikanthchowdary8595
@srikanthchowdary8595 3 жыл бұрын
if a thread has to call wait() method you are saying it has to get the lock of object, but in multithreading concept if another thread has a lock of an object the other thread automatically goes to waiting state even though it doesn't has the lock of that particular object
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Srikanth. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@UpendraSingh-qx5uh
@UpendraSingh-qx5uh 2 жыл бұрын
in this case the thread not even entered into block/method, what if we want to perform some line of code and after that we want to call wait() method then that thread has to release lock of that object and goes to waiting state......
@sateeshbabu5792
@sateeshbabu5792 7 жыл бұрын
Big B of java by Durga Sir
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 жыл бұрын
Hi Sateesh. Thank you very much for your feedback
@seetharam3588
@seetharam3588 7 жыл бұрын
Sir plz explain some basic java programs in interview point of view..
@md.ruhulamin7963
@md.ruhulamin7963 6 жыл бұрын
Thank you sir.
@poojalohar8145
@poojalohar8145 4 жыл бұрын
Sir I have one doubt please clear it that if we call wait method on an object using a thread but call notify method on different object of same class using another thread then it will work or not?? I mean there is any compulsion that wait and notify method call on same object???
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 жыл бұрын
Hello Pooja. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@satishbethina123
@satishbethina123 3 жыл бұрын
Why wait, notify, notify all methods present in object class. I thought, if a thread goes to waiting state it cannot get out of waiting state itself. There should be a mechanism to push the waiting thread from waiting state to runnable state. May that is also another reason why all 3 not present in thread but in object.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Satish. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@nishanthmurugan5502
@nishanthmurugan5502 5 жыл бұрын
Sir what happen if we declare join method inside synchronised area if it releases lock to Join that thread
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Harsha. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@venkychalapureddy6072
@venkychalapureddy6072 4 ай бұрын
java god
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 4 ай бұрын
Hello Venky. Thanks for your valuable feedback. It will boost us to do new things. Please subscribe to get updates about new videos. You can view all other Core Java with SCJP/OCJP Videos by Durga sir in the following link: goo.gl/kqvaf2
@namanbansal2706
@namanbansal2706 6 жыл бұрын
sir your explanation is good but improve sound quality
@anuragbisen1146
@anuragbisen1146 5 жыл бұрын
Dear Sir, If we have given waiting time of the thread as 1000 ie wait(1000) and if in that interval of time thread does not receive any notification then when thread will get the object lock back again?is it like after 1000 millisecond automatically it will get the lock or it will wait for other thread to update? Please reply.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Anurag. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@ironhide9955
@ironhide9955 5 жыл бұрын
Hi anurag, what is the answer?
@ranveervaghela7030
@ranveervaghela7030 4 ай бұрын
Completed on 06-08-2024 at 12:26 am :)
@devashishchoubey1965
@devashishchoubey1965 5 жыл бұрын
thnx sir..
@vinodkumar-ft7xu
@vinodkumar-ft7xu 6 жыл бұрын
sir , we used( throws InteruptedException) than how can be the interuption occurs between waiting state and another waiting state......................plz explain sir
@ravikeshkumarsingh7887
@ravikeshkumarsingh7887 6 жыл бұрын
sir sound is not coming this video please again downloads this video
@ramub4271
@ramub4271 5 ай бұрын
Why every declared method is final in Mult threading concept
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 ай бұрын
Hello Ramu. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@sagarshekhar6296
@sagarshekhar6296 7 жыл бұрын
Sir, I have one concern. Lets say, there is a thread t2,which is holding locks of four different objects. If notifyall() has been called by this thread t2, whether only all those waiting threads will be notified which are waiting locks for the same objects , of which t2 had taken the locks or all entire threads, which are waiting for any object's lock, will be notified.
@murariraman5388
@murariraman5388 6 жыл бұрын
Thanks again sir
@arijitpany4433
@arijitpany4433 3 жыл бұрын
Sir when I call wait()..it immediately release lock ..but how it possible when call notify () release lock of same object ...the lock already release by wait()
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 3 жыл бұрын
Hello Arijit. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@arijitpany4433
@arijitpany4433 3 жыл бұрын
@@DurgaSoftwareSolutions thank you sir...I again watch the video and understand it .
@chetankbirje
@chetankbirje 8 жыл бұрын
thanks for the videos :D
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 8 жыл бұрын
Tq chetan birje.
@manasadiki7576
@manasadiki7576 5 жыл бұрын
Sir why can't we use notify method to solve deadlock problem
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Manas Adiki. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@yashureddy5359
@yashureddy5359 6 жыл бұрын
Sir multiple threads waiting state lo unte notify method e thread ni cl chestundhi
@srikanthracharla420
@srikanthracharla420 5 жыл бұрын
Good question manak Okati kante ekko posts vachina kuda manam velli anni posts chustam kada, so alane waiting state lo unapudu okka notification vachina annintiki notify vastadi anukuntunna 😉😉😉✌
@rajatgoyal1491
@rajatgoyal1491 5 жыл бұрын
In title it is written threading part 10 but when we start the video it show session 12 please confirm on this
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Rajat. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@chintanbhadani7183
@chintanbhadani7183 5 жыл бұрын
Hii sir Why priority not properly work in thread??
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Chitan Bhadani. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@lpy4150
@lpy4150 5 жыл бұрын
He already explained in video that some operating systems like windows 7 don't give support for priority....
@anuragdeepverma9541
@anuragdeepverma9541 8 жыл бұрын
doubt : suppose thread t1 has lock and call yield(). there is another thread t2 which has higher priority than t1 but it also require lock of same object . so which thread got the chance first to execute ?
@kjkanishk7575
@kjkanishk7575 7 жыл бұрын
acc to me, if t1 has the lock and calls yield(), then t1 will enter waiting state, and the processor will be assigned to t2 eventually. if t2 has a higher priority and t1 has the processor then until t1 calls yield() or join() or wait() method, it wont be leaving the processor... btw ur case is just imaginary and if u do this its not a good programming practice coz just think this, if updation is performed before the t1 enters for waiting for the updation then what will be the use of notify() and wait() methods.
@prashantamba
@prashantamba 8 жыл бұрын
isn't it thread only got the lock if it's inside synchronised area and to be inside synchronised area it should be in running state....then how thread gets back to runnable state from second waiting state instead of going to running state itself.....if that's the case if another thread have to access synchronised area it must have to wait for the thread which has the lock and currently is in runnable state to get into the running state and releases the lock??
@knowledgekunji7763
@knowledgekunji7763 7 жыл бұрын
Thank u very much sir
@VenkatramanaGopireddy
@VenkatramanaGopireddy 8 жыл бұрын
there is no sound audible in the beginning of the class, please can you guys rectify or re upload it once again !!! pleaseee !!!
@ambeshsingh1251
@ambeshsingh1251 7 жыл бұрын
its available only in one of the ear piece,kindly check with ur earphone .it will be available either on the right earpiece or left one
@soumyasurajita6016
@soumyasurajita6016 8 жыл бұрын
sir, can you please help me with below program. Use two threads to print ping pong in alternate sequence for infinite times as follows. thread 1 ll print ping and thread 2 ll print pong. ping pong ping pong . . .
@anuragdeepverma9541
@anuragdeepverma9541 8 жыл бұрын
so you need code for this case study .. or you forgot to share your code ?
@anuragdeepverma9541
@anuragdeepverma9541 8 жыл бұрын
code is simple .. make two threads and run them together... and you can create one thread and the other thread job is done by main thread
@anuragdeepverma9541
@anuragdeepverma9541 8 жыл бұрын
but if you need to print ping pong in alternate sequence , then this is not an independent job.. both jobs(printing "ping" and printing "pong") are dependent on each other .because you want to print them in alternate fashion. so we are missing the key concept of thread which is "executing several independent task of same program"
@shivaakrish
@shivaakrish 5 жыл бұрын
github.com/shivaak/ThreadSamples/blob/master/src/com/learning/PingPong.java I know this is very late . But still :P
@vishalgaikwad873
@vishalgaikwad873 7 жыл бұрын
Sir can u explain what exactly native... U said not developed in java, I am not getting..
@samikshaa6990
@samikshaa6990 7 жыл бұрын
vishal gaikwad method which is already implemented in other language(non-java language) like c/c++ is called a native method Eg: yield () is not implement ed in java
@vishalgaikwad873
@vishalgaikwad873 7 жыл бұрын
ahana ajgaonkar thank you sir, I got it.
@samikshaa6990
@samikshaa6990 7 жыл бұрын
I am a girl 😅
@vishalgaikwad873
@vishalgaikwad873 7 жыл бұрын
ahana ajgaonkar , srry I got the problem not u....
@sandeepe5989
@sandeepe5989 6 жыл бұрын
ahana ajgaonkar do native methods are only pre defined methods...clarify plz.
@ankitpandey6575
@ankitpandey6575 6 жыл бұрын
Sir why wait, notify and notifyall methods in defined in object class instead of Thread class. I did Google but couldn't get the proper answer.
@zoranristov7349
@zoranristov7349 6 жыл бұрын
you have an explanation of it in the video the guy talks about it for like 10 minutes from like the 18th minute until the 30th
@RahulSharma-xu4fe
@RahulSharma-xu4fe 8 жыл бұрын
Sir can we overload final methods
@kjkanishk7575
@kjkanishk7575 7 жыл бұрын
no u can never, coz thats what final means ... fixed implementation.
@ramprasadugolla7566
@ramprasadugolla7566 6 жыл бұрын
You can overload but you can't override.
@abhay1893
@abhay1893 6 жыл бұрын
Thank you Ramprasadu
Core Java with OCJP/SCJP: Multi Threading Part-11 || Inter Thread Communication Part-2
1:24:46
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Core Java with OCJP/SCJP: Multi Threading Part-7 || synchronization part-1
1:35:15
Durga Software Solutions
Рет қаралды 404 М.
Core Java with OCJP/SCJP: Exception Handling Part-6 || throws keyword
1:39:31
Durga Software Solutions
Рет қаралды 221 М.
Core Java with OCJP/SCJP: Multi Threading Part-3 || The ways of defining a Thread Part-2
1:18:54
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Learn English Through Story || Graded Reader || Improve Your English || Listen And Practice
16:14
StoryStudies - Learn English Through Story
Рет қаралды 240
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН