why different result with pycharm and python shell run

I have writen multiprocessing python  script  when i use pycharm run,The result like that .See the cpu usage and ouput ,Is fit the multiprocessing theory

2.png

But when i use python shell to run the script,the result was different with pycham run it,look at cpu usage and the result very strange

3.png

what make the same code dfferent result .

the script in Attachments,and the my os system was ubunte 11.4 and python 2.7

Please help me ,thanks



Attachment(s):
processandthread.py.zip
2012-06-18 09:53:18%E7%9A%84%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png
3.png
2012-06-18 09:53:18%E7%9A%84%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png
2.png

Please sign in to leave a comment.