Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52268 > unrolled thread

Python3 Multiprocessing

Started byDevyn Collier Johnson <devyncjohnson@gmail.com>
First post2013-08-09 15:30 -0400
Last post2013-08-09 15:30 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Python3 Multiprocessing Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-08-09 15:30 -0400

#52268 — Python3 Multiprocessing

FromDevyn Collier Johnson <devyncjohnson@gmail.com>
Date2013-08-09 15:30 -0400
SubjectPython3 Multiprocessing
Message-ID<mailman.405.1376077011.1251.python-list@python.org>
Aloha!

    I need a command that will make threads created by 
"multiprocessing.Process()" wait for each other to complete. For 
instance, I want to do something like this:

job1 = multiprocessing.Process(CMD1())
job2 = multiprocessing.Process(CMD2())

jobs1.start(); jobs2.start()

PY_FUNC()

The command "PY_FUNC()" depends on the end result of the actions of 
CMD1() and CMD2(). I need some kind of wait command for the two threads 
that will not let the script continue until job1 and job2 are complete. 
Is this possible in Python3?


Mahalo,

DevynCJohnson@Gmail.com

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web