File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Writing Code for Multi Core CPU 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 » Java in General
Bookmark "Writing Code for Multi Core CPU" Watch "Writing Code for Multi Core CPU" New topic
Author

Writing Code for Multi Core CPU

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
To fully utilise a multi-core CPU, is it simply by writing all codes in as many threads as possible (or at least # of threads matches # of core) and assume the OS will auto allocates the threads and utilise idle CPU cores as much as possible?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Writing Code for Multi Core CPU
 
Similar Threads
Java competing with native code app over resources
Writing Software for Multicore System
Multiprocessor JVM Scalability
when not to use thread
multithreading