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


Groups > comp.lang.python > #52274

RE: Python3 Multiprocessing

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ramit.prasad@jpmorgan.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'mrab': 0.05; 'completeness': 0.07; 'collier': 0.09; 'received:155': 0.09; 'subject:Python3': 0.09; 'thread': 0.14; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'received:155.180': 0.16; 'received:155.180.234': 0.16; 'received:155.180.234.122': 0.16; 'received:159': 0.16; 'received:159.53': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:se3.svr.bankone.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'threads,': 0.16; 'threads.': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'wrote:': 0.18; 'command': 0.22; 'to:name:python-list@python.org': 0.22; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'received:169.254': 0.32; 'johnson': 0.35; 'accuracy': 0.36; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'received:169': 0.37; 'two': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'information,': 0.61; 'email addr:gmail.com': 0.63; 'purchase': 0.65; 'to:addr:gmail.com': 0.65; 'subject': 0.69; 'legal': 0.71; 'sale': 0.75; 'received:169.254.8': 0.84; 'subject:skip:M 10': 0.84
X-DKIM OpenDKIM Filter v2.1.3 sz2.jpmchase.com r79KkLwu009326
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1376081181; bh=5wrJXUAqEGgEl9hqY3hy37zTJLehX9w09oGPAycMMrM=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:content-transfer-encoding:MIME-Version; b=pdYfJPRCTH3UsUw+OVU+a1q40EgZ4JtANoPMWXDpmBktNSIj9z7LNa+sTiD+LcKQD 96bMmJ5QsBFm0QU11Mt7qPmlEMVw+aCe2SlqSRPSt8oh+uNJMn2v9ch7YVtur0ZS8g KOIFNmz6Y4GFgta81eqG4pZqUnsTq7BJpglxnd3M=
X-AuditID a97c8568-b7fe98e00000038f-00-5205551ad941
From "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid>
To Devyn Collier Johnson <devyncjohnson@gmail.com>, "python-list@python.org" <python-list@python.org>
Subject RE: Python3 Multiprocessing
Thread-Topic Python3 Multiprocessing
Thread-Index AQHOlTfSEwWwURgv80OFfIvP52UYB5mNil0AgAAQfgD//705AA==
Date Fri, 9 Aug 2013 20:46:17 +0000
References <5205435D.5090704@Gmail.com> <520546A2.50900@mrabarnett.plus.com> <52055478.2080704@Gmail.com>
In-Reply-To <52055478.2080704@Gmail.com>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [10.67.79.47]
Content-Type text/plain; charset="us-ascii"
content-transfer-encoding quoted-printable
MIME-Version 1.0
X-DLP-FWD Yes
X-Brightmail-Tracker H4sIAAAAAAAAA+NgFvrOKsWRmVeSWpSXmKPExsWy0tXaSFcqlDXIoLtDyeLOvOusFkdar7E6 MHnsnHWX3ePF/DdsAUxRDYw2iXl5+SWJJakKKanFybZKLpnFyTmJmbmpRQq6Cl4FuflF6Yl5 esn5uUoKmSm2SiZKCgU5icmpual5JbZKiQUFqXkpSnZcChjABqgsM08hNS85PyUzL91WyTPY X9fCwtRS11DJLiQjs1ghNTcxM0chYSN7xrUnDgW7WSpe/rdpYNzG3MXIySEhYCIx58VmRghb TOLCvfVsILaQwGFGiY7Dol2MXED2AUaJ9Y23mCGcDYwSZzb/YgGpYhMwlDh+9gk7iC0ikCHR MHUDK4gtLKAi8eb2MzaIuKpE45lprBC2k8SxZ2eA4hwcLEA1n5d7g4R5BUIkbve8YYVYnCPx +NccJhCbU0BTYsvq22DjGYGO+35qDVicWUBc4taT+UwQRwtILNlzHuoZUYmXj/+xQtjyEi+m vGSDqNeRWLD7E5StLbFs4WtmiL2CEidnPmEBOUdIQE1i33pbEFNCgE9ie1v1BEaJWUiWzUIy aBaSQbOQDFrAyLKKUbI4Nz3DRK+4rEivtFgvqyA3OSOxOFUvL7VkEyMovdS0ZuxgXLLc9hCj AAejEg/vhF8sQUKsiWXFlbmHGCU4mJVEeA9lnQwU4k1JrKxKLcqPLyrNSS0+xFgFDLKJzFKi yfnA1JdXEm9obGZhYGpqaGBhaGRCFWElcd5DjqxBQgLpwGSanZpakFoEs5yJg1OqgfGgT5u1 96HyTq5VFoY3lljMTKhs3TqlVWyq9MqW8Hu3k3Ys0nBZvuOrz5vEzVt1Igu5Hk6ueXUxaNNK zZC8I/dWFvRE3Ojbonk6OPKd9LlU132Z9ySTrLfr1Uesa3sa6epvmcCl8WD6tY/zJ/h393Zf /F23as69w9WdCZuuvd6ZvEb2Qu4fQ0YlluKMREMt5qLiRADMXYlAigMAAA==
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.409.1376084288.1251.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376084288 news.xs4all.nl 15953 [2001:888:2000:d::a6]:49395
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52274

Show key headers only | View raw


Devyn Collier Johnson
> On 08/09/2013 03:44 PM, MRAB wrote:
> > On 09/08/2013 20:30, Devyn Collier Johnson wrote:
[snip]
> >>
> > jobs1.join()
> > jobs2.join()
> >
> 
> Thanks MRAB! That is easy. I always (incorrectly) thought the join()
> command got two threads and made them one. I did not know it made the
> script wait for the threads.
> 

It does join two threads, just not the threads you think! It "joins"
a child thread with the parent thread and not two children thread.

> Mahalo,
> 
> DevynCJohnson@Gmail.com
> --


~Ramit




This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.  

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: Python3 Multiprocessing "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid> - 2013-08-09 20:46 +0000

csiph-web