• 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

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: 4280
57
  • 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.
 
Morning came much too soon and it brought along a friend named Margarita Hangover, and a tiny ad.
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic