Posted by cohodetector
on July 26, 2008 at 10:40 PM PDT
I am using java.lang.Thread class to implement thread for my java image processing program. In my image processing program, i have the following... I have two classes. First class(ReadImages.java) reads images from the disk and the second class(ProcessImages.java) processes the images. The processing images take so much longer than reading images; hence, i subclass Thread to implement the second class to become more efficient and do a multi task. So it reads images and in the same times it process images.
My question is I have intel core 2 duo processor, and if i am using thread from java.lang.Thread, then does it doing time slicing or Simultaneous multithreading like run ReadImages.java on one core and run ProcessImages.java on another core? how does JVM schedule? also, I am using windows xp professional edition 32 bits.