Question about spawn

Started by methodic, December 18, 2009, 01:12:09 PM

Previous topic - Next topic

methodic

Hi, in my application I have a dotimes call that for each iteration calls spawn which calls another function. The problem is that when running top I only see one lisp process when I know the loop should be spawning at least 4 separate processes.



I am running top with full command line args and the ability to see the CPU type for each CPU. When it is running, each CPU will never report over 100% usage simultaneously.... if one CPU is using 75% from the lisp script, the other CPU is showing 25% instead of both maxing out at 100%. All I ever see is one newlisp process taking up 100% CPU usage.



This is the latest stable release running under Linux.



Thanks in advance.

methodic

#1
Sorry for the noise everyone, it appears that the children were just exiting faster than expected. I used the primes example script and saw 4 newlisp processes running. At least now I know for sure it works. :)