This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tips to learn Multithreading.  RSS feed

 
Vidhya Senthilkumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai..

Now I am preparing the Threads concepts. I can understand the basics.

But the synchronize concepts and wait() methods are confusting.

Like me many people are facing difficulties while learning threads.
so,

Pl Give some tips how to start learning of threads concpets.
Pl Give some simple examples of threads.
Pl refer some useful links to learn about threads.

Thanks in advance.

Regards,
Vidhya senthilkumar.
 
Edisandro Bessa
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vidhya,

You can start by reading this tutorial : http://java.sun.com/docs/books/tutorial/essential/threads/index.html
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so get some really good dessert that your entire family really likes. Maybe some kind of pie or something. Now, you take a piece, go away and come back. But act as if you expect there to be only one piece gone, and you want to do some calculation that you expect to use a pie with just one piece gone. Now you and another family member try to cut a piece at the exact same time, even cutting in the exact same area, so that it is overlapping.

That is the basic feel of multithreading. Well, sort of. I was just really hungry for some pie.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!