• 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

New to multithreading

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am new to concurrency programming (not worked on java 6 threads either, but I am good in Java). Does this book teach me from basics on how to program using concurrency?
 
author
Posts: 20
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hello Suhaib

Yes, the book covers the most important features of the Java 7 Concurrency API. We gave more importance to the new features in the Java 7 version, but it include recipes that show how to use the basic features of the concurrency API. For example, the first chapter of the book include the following recipes

-Creating and running a thread
-Getting and setting thread information
-Interrupting a thread
-Controlling the interruption of a thread
-Sleeping and resuming a thread
-Waiting for the finalization of a thread
-Creating and running a daemon thread
-Processing uncontrolled exceptions in a thread
-Using local thread variables
-Grouping threads into a group
-Processing uncontrolled exceptions in a group of threads
-Creating threads through a factory

As you see, it includes basic thread operations.

If you need more info, please let me know.
 
suhaib mustafa
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Javier Fernandez Gonzalez. Guess This is what I was looking for. Just one more thing, does it include some real time examples to explain the concepts?
 
Javier Fernandez Gonzalez
author
Posts: 20
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi Suhaib. What do you mean with real time?. We have tried that the examples reflect real world situations so you can use it in your applications. Take into account that each recipe explains a concept using an example and they have between 4 and 10 pages, so the examples can't be very big.

If you need more info, please let me know.
 
Master Rancher
Posts: 4806
72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Javier Fernandez Gonzalez wrote:Hi Suhaib. What do you mean with real time?


It seems that Indian posters (or at least, posters with names that appear Indian to Western eyes) often use "real time" to mean what the rest of the English-speaking world would call "real world". No relation to "real time" as used in the US, which is completely different.
 
suhaib mustafa
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I meant real world examples.
 
straws are for suckers. tiny ads are for attractive people.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic