Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52273
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <random832@fastmail.us> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.025 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'collier': 0.09; 'received:internal': 0.09; 'subject:Python3': 0.09; 'thread': 0.14; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'thread,': 0.16; 'threads.': 0.16; 'wrote:': 0.18; 'command': 0.22; 'aug': 0.22; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'running': 0.33; 'fri,': 0.33; '"the': 0.34; 'received:66': 0.35; 'johnson': 0.35; 'method': 0.36; 'thanks': 0.36; 'so,': 0.37; 'two': 0.37; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'fact': 0.38; 'to:addr:python.org': 0.39; 'called': 0.40; 'from:no real name:2**0': 0.61; "you're": 0.61; 'header:Message-Id:1': 0.63; 'subject:skip:M 10': 0.84; '2013,': 0.91; 'join.': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:in-reply-to:references:subject:date; s=mesmtp; bh= ptf0rum2ytYrFwe8X93yqhkFaeo=; b=K4pPHnLAv2dzIlqG7WabVQLZ2NL/AVPN scotmFF6714iCqqso1iWw46uWfVPcjj60H2CQr8SlSwj26KBwiyJyjY4stVpy9mq a3/M8eYcmS0c6RBk9ulfNuFreZw9v1xA9wjPodA9A6xidPL1tnIYvaqMqvaDnFxt yXaz+UyRkhk= |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=ptf0rum2ytYrFwe8X93yqhkFaeo=; b=L87 OwIwPF35cGNr4qpKUnQ+//NZammd0PeW5PwPIIolrNdXIIKJWWecDUcfHyzXoN5r tGUew8ufJ0FOVAGmQSwUtM0W/fCDZfI7qJOpyjxC0A01uzKXaFjA+oYu0EWGVmv/ xClRm2QNmUU9v9pfMeV/wQyaA8HFp1IgzdwESYMQ= |
| X-Sasl-Enc | wPSJtaMQGgJXg4oRpxRXhnaqtjyDGWoeEoEOo1LunA3G 1376081678 |
| From | random832@fastmail.us |
| To | python-list@python.org |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Content-Type | text/plain |
| X-Mailer | MessagingEngine.com Webmail Interface - ajax-d9f253bf |
| In-Reply-To | <52055478.2080704@Gmail.com> |
| References | <5205435D.5090704@Gmail.com> <520546A2.50900@mrabarnett.plus.com> <52055478.2080704@Gmail.com> |
| Subject | Re: Python3 Multiprocessing |
| Date | Fri, 09 Aug 2013 16:54:38 -0400 |
| 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.408.1376081681.1251.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1376081681 news.xs4all.nl 15904 [2001:888:2000:d::a6]:43645 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:52273 |
Show key headers only | View raw
On Fri, Aug 9, 2013, at 16:43, Devyn Collier Johnson wrote: > 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. What you're missing is the fact that the main thread [i.e. the one running "the script", and that waits for the thread you call the method on] is, well, a thread. So, you start with two threads [the main thread and the jobs1 thread, for example], and end up with one [the main thread]. This is why it's called join.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python3 Multiprocessing random832@fastmail.us - 2013-08-09 16:54 -0400
csiph-web