|
Assigning Threads on Multiprocessor?
Hello,
I am converting a single threaded application into a multithreaded one in hopes of concurrently executing sections of the code on a multiprocessor. I've created threads for the sections that should be executed on the different processors but I don't think multiple processors are being assigned to the code chunks. The multiprocessor system is Unix based and I use the generic "java Main" command to execute the class with main(). Is there a special command that I have to use in order to assign the threads to the multiprocessors?
Thanks in advance!
|