This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes New to multithreading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "New to multithreading" Watch "New to multithreading" New topic
Author

New to multithreading

suhaib mustafa
Greenhorn

Joined: Apr 01, 2012
Posts: 10
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?
Javier Fernandez Gonzalez
author
Greenhorn

Joined: Dec 10, 2012
Posts: 20
    
    5

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.

Author of Java 7 Concurrency Cookbook
suhaib mustafa
Greenhorn

Joined: Apr 01, 2012
Posts: 10
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
Greenhorn

Joined: Dec 10, 2012
Posts: 20
    
    5

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.
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2996
    
    9
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

Joined: Apr 01, 2012
Posts: 10
I meant real world examples.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: New to multithreading
 
Similar Threads
OCC
multithreading
Concurrency supported by all multicore?
Thread Pools
running a fixed number of threads all the time