• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tips to learn Multithreading.

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic