Many thanks Peter - I will explore the potential for multiple threads in my program
 
Bill
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Verhas
Sent: 2002-03-01 15:52
To: [EMAIL PROTECTED]
Subject: multi processor support in AS perl for win NT4

I do not think this is an issue with Perl. This is rather an issue of the program you wrote. If this is a single process program that does create extra process or thread to do the job it will not concurrently run on multiple processor. A single process can run on a single processor at a time.
 
Windows NT can however run the different time slices of the same process on different processors, but in case there are no other processes loading the system there is no reason to move a process from one processor to another. The CPU swapping just slows the process down.
 
To achieve speed gain from multiple processors, you should have at least that many threads as many processors you have. And this is the implementation of your program and not the interpreter executing the language.
 
Regards,
Peter

Reply via email to