File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
multithreading and concurrency
Joined: Sep 08, 2006
Oct 25, 2006 06:26:00
I am Pankaj Shet.
I want to know the difference between multithreading and concurrency.
Where can I apply them?
B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
Joined: Aug 15, 2006
Oct 25, 2006 07:08:00
Threads are a specific example of concurrency.
"Concurrency occurs when two or more execution flows are able to run simultaneously."
Threads are a way for programs to do several different tasks at the same time -- that is, concurrently. (They're not the only mechanism; another is to use several "processes").
The following is a good page to read to understand situations where you could apply multithreading:
Inquisition: open-source mock exam simulator for SCJP and SCWCD
I agree. Here's the link:
subject: multithreading and concurrency
Which part of Java is sexy for you?
Compare Clojure to Haskell and CL
Java multithreading books
Implementing stack using threads
HttpSessions getting mixed up
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014