in reply to Re^5: question about running a system and a perl function background
in thread question about running a system and a perl function background
Thank you so much for the detailed explanation. That really helps understand threads a lot more. I have been trying to implement it in my program and was getting a very strange result...when I directly run the perl file testThreads.pl from the command window...it runs fine.
But, when I call testThreads.pl from another file...from the command
system (" perl testThreads.pl");
Only one of the threads starts...and then it hangs and does not complete. Is this expected?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: question about running a system and a perl function background
by Anonymous Monk on Dec 23, 2004 at 17:48 UTC |