• 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

Thread

 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am not good in threads at all. Though i am comfortable with the basics of thread, i encounter problem in the area of interthread communication..
Can anyone suggest a site,book,etc on this topic to get more info with some code samples..
Sanjana
 
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sanyana,
For correct and trustworthy statements and explanations, I use The Java Programming Language, Chapter 10 by Arnold, Gosling and Holmes. However, this book does not have many examples. It does not build your intuition.
My first thread teacher was Core Java Volume II, Chapter 1 by Cay Horstmann. He has about 14 small but complete examples with GUI interfaces that he uses to explore thread concepts and show how to use threads. I think this a very good introduction to threads.
However, I think maybe the book for you might be Java Thread Programming by Paul Hyde. He has many complete examples not so much to show what to do with threads, but to show experiments that demonstrate concepts. He walks through the examples. Sometimes he includes little timeline graphs. It is very easy to read.
There are a few small things in Hyde's book that might not be exactly correct. But I think it might be a good book for developing intuition.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic