aspose file tools*
The moose likes Beginning Java and the fly likes Concurrency supported by all multicore? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Concurrency supported by all multicore?" Watch "Concurrency supported by all multicore?" New topic
Author

Concurrency supported by all multicore?

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

"On a single processor, multithreading generally occurs by time-division multiplexing (as in multitasking): the processor switches between different threads. This context switching generally happens frequently enough that the user perceives the threads or tasks as running at the same time. On a multiprocessor or multi-core system, the threads or tasks will actually run at the same time, with each processor or core running a particular thread or task."
external source

Does anyone have a research paper indicating processors which support or might not support concurrency?
Is concurrency supported by ALL multicore processors?
What vendor-specific (e.g. Intel, AMD) features would a systems programmer confirm with the processor documentation to ensure that it is supported?



Jon
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3615
    
  14

Concurrency isn't "supported" by any processor. Concurrency is the logical consequence of using multiple processors. For a single processor concurrency can be mimicked by software.
Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

Stephan van Hulst wrote:Concurrency isn't "supported" by any processor. Concurrency is the logical consequence of using multiple processors. For a single processor concurrency can be mimicked by software.


Concurrency is a software feature coded in Java that uses threads, which I think must be supported by the processor, am I right?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41574
    
  54
No. Concurrency in the JVM is possible on single-core, single-CPU machines.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Concurrency supported by all multicore?