title: Python multiprocessing creates sub-process using wrong function
body: <p>I'm trying to write code that create sub-process using another module(demo_2.py),<br>
  and exit program if i get wanted value on sub-processes.</p>
  
  <p>But result looks like this.</p>
  
  <p><a href="https://i.stack.imgur.com/QdjQL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QdjQL.png" alt="Unexpected action on my code. This is a screenshot of the result"></a></p>
  
  <p>It seems that demo_1 makes two sub-process that run demo_1 and load demo_2.<br>
  I want to make sub-process only runs demo_2.</p>
  
  <p>What did i missed?</p>
  
  <p>demo_1.py</p>
  
  <pre><code>#!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from multiprocessing import Process,Queue
  import sys
  import demo_2 as A
  
  def multi_process():
      print ("Function multi_process called!")
      process_status_A = Queue()
      process_status_B = Queue()
      A_Process = Process(target = A.process_A, args = (process_status_A,))
      B_Process = Process(target = A.process_A, args = (process_status_B,))
      A_Process.start()
      B_Process.start()
      while True:
          process_status_output_A = process_status_A.get()
          process_status_output_B = process_status_B.get()
          if process_status_output_A == 'exit' and process_status_output_B == 'exit':
              print ("Success!")
              break
      process_status_A.close()
      process_status_B.close()
      A_Process.join()
      B_Process.join()
      sys.exit()
  
  
  print ("demo_1 started")
  if __name__ == "__main__":
      multi_process()
  </code></pre>
  
  <p>demo_2.py</p>
  
  <pre><code>class process_A(object):
      def __init__(self, process_status):
          print ("demo_2 called!")
          process_status.put('exit')
      def call_exit(self):
          pass
  </code></pre>