Home: Perl Programming Help: Intermediate:
Threads running at same time



Ordawg
Deleted

Dec 14, 2000, 7:25 AM


Views: 453
Threads running at same time

I am working on a multithreaded script in perl. I want to use 2 - 3 threads and have them run at the same time. Right now I have to have 1 run for x amount of time and then yield to the others so that they can run and so on. How do I get them to run at the same time? The machine that the script is running on has multiple processors.